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)