General information
Category:
Forms & Form designer
>>>>>CLASS is Read-Only property :((( So, this technique would not work, and I still have to hack :(
>>>>
>>>>Right, so you would have to form.addobject() a corresponding object of your own, copy all the non-default properties from your selected object, delete the original object (remember to release the reference to it, if any) and rename the new object to the name of the old object.
>>>
>>>I probably would stick with my old approach :) I've half way done with the item 1 :)
>>
>>As one of my old friends once said:
>>
>> "There are two kinds of lazy programmers: the first kind is too lazy to automate anything, so they'd rather type the same 200 char command sequence over and over; the second kind reacts whenever they have to do anything more than three times - they automate the task, even if it takes three days to do and gets used only once".
>
>Does AddObject (NewObject) work in design-time?
>
>I guess, I'm getting old, because I found myself in the first category couple of times...
Nadya;
We all start at 0 and get old too fast!
Tom
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only