Is there any delegate that can be called after a column from table is dragged and dropped onto section?
When I drag a column say chr(10) onto a canvas section it creates a textbox with the name say field5
I want to be able to run some code that changes the name.
So if the column was cfirstname I want to rename field5 to txt_cfirstname, if an memofield then edit_cfirsname.
At present I need to click on the caption of the text box to open the attributes and change it before I do any coding.
In the assistant, which is brilliant to use, I can't change the name by the looks of it.
When coding using something like txt_firstname is easier than field5 as one know hat it being referred to.
David
Bookmarks