Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quick form
Message
From
23/10/2001 21:24:33
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00572149
Message ID:
00572404
Views:
44
This message has been marked as a message which has helped to the initial question of the thread.
>>>>>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?

This is what it takes to try:
MODIFY FORM test
=ASELOBJ(aa,1)
aa[1].addobject("txt","textbox")
>I guess, I'm getting old, because I found myself in the first category couple of times...

...and I'm then way too old, because I'm in the second category for some fifteen years :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform