Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding properties and methods.
Message
From
19/01/2006 12:00:44
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
18/01/2006 15:40:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 4.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01087772
Message ID:
01088487
Views:
12
>>>Hi Dave,
>>>
>>>Thanks for providing me with a better understanding on this subject. I figured there were good reasons for not being able to modify class definitions through the form designer. Know that I know why, it's much easier for me to live with.
>>
>>Actually, you can add new methods to contained objects, via a builder. Like this - select a contained object first in the designer, and type this in the command window:
>>
>>
aSelobj(a)
>>a[1].writemethod("newmethodname","lParameters zz",.t.)
>>
>>And you can even edit that method and add more lines to it. The problem is, as Fabio said, with the VCX loader, which will not load them next time you open the class in the designer. I've tried this before, and the extra methods in the contained objects were just gone. Probably when the class (or form) is compiled.
>
>this proof thar don't exist a tech reason for don't support writemethod
>at runtime, 90% of the job is ready

It is, but it's the remaining 10% that makes this unusable.

back to same old

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

Click here to load this message in the networking platform