Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arrow Keys Don't Fire When, GotFocus, Click in Grid txtB
Message
 
À
12/02/2002 22:55:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00618623
Message ID:
00622128
Vues:
24
Chin,

AfterRowColChange works great! And, as AfterRowColChange fires regardless of whether the keyboard OR mouse is used to move the cursor, I don't have to use Click or KeyPress at all. Also, since AfterRowColChange is at the Grid level, and not down in each txtBox, that also makes it easier. I just put the custom method in the form, and then call it AfterRowColChange. The method highlights the record for me and then populates some associated txtBoxes, etc. on my form based on some values in that record. Works great! Thanks!

Now I need to get into clases and subclasses so that if I set the SelectedBackColor and SelectedForeColor on a textbox, I can include an instance of that in each txtBox that is on the Grid instead of having to manually set those properties in each txtBox. Thanks Again, Chuck

>In my case I'm using AfterRowColChange Event of the grid. Here I woul put the the same codes as in the txtBox.Click.
Chuck Henry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform