Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding properties and methods.
Message
From
19/01/2006 12:51:38
 
 
To
19/01/2006 12:00:44
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
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:
01088528
Views:
9
>>>>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.

has VFPT been lazy ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform