Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassed Textbox in Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00130514
Message ID:
00130517
Vues:
22
Mark,

Make sure you set the CurrentControl property to the name of the textbox you added. Otherwise it uses the default TextBox control which is Text1.

>I have a Grid added to a form using 'AddObject'. After setting columncount, I added a textbox object to the columns using a subclassed textbox with code in the GotFocus, & LostFocus events. When running the form, the GotFocus & LostFocus event of the custom textbox control don't fire when the object gets or loses focus. To verify that the subclassed textbox was built correctly, I added a textbox based on the custom class directly to the form and the Gotfocus & LostFocus events fire normally.
>
>Any ideas?
>
>Mark Allen
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform