Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00202932
Message ID:
00203268
Vues:
18
Good point...

>What you may be missing is the "CurrentControl" property.
>If you add the custom class, but don't delete the default "text1" control, OR change the "CurrentControl" property to your custom textbox class, the grid will still process based on the default "text1" control.
>
>
>>>Hi All,
>>> For help window, i create grid at runtime. i add my text box class to the grid which has code of dblclick() and keypress(). but it doesnt work with grid. if i attached it at runtime.
>>>
>>> waiting for solution.
>>>
>>>TIA
>>>Amit
>>
>>You shouldn't be losing the methods code by adding the text boxes at runtime. If you modify the methods of your textbox class in the class designer it should be fine. But, if you added the method code to your textbox in the form designer your textbox class will not retain the changes you made except on that form.
>>
>>HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform