Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Classes and objects
Message
From
27/01/2005 21:31:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
27/01/2005 21:22:40
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00981586
Message ID:
00981587
Views:
19
Yes, you can "hack" the form. Open the form as a table.
use MyForm.scx
browse
to see what you have to replace. Then, use REPLACE. (The relevant fields are "Class" and "Classloc".)

However, this is tricky. Be sure to have a recent backup of all forms involved! You might easily ruin your forms.

Saludos,

Hilmar.

>Thanks to you all for your help, really. Now i know i must have subclassed : ). The thing is the program is quite big and I cant just substitute every commandbutton for my new subclassed one, and every form as well, if I want to do it in a reasonably amount of time.
>
>I wondered if one could kind of cheat foxpro by subtituting it's command button by mine, o something similar to do the same job. Is this possible or am I just dreaming?
>
>i hope not dreaming ; )
>
>An Michel R
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform