Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set DoubleClick event for Text Boxes in Grids
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00398429
Message ID:
00398433
Vues:
29
>>I have a pageframe with several pages each containing a grid. All those grids are based on the same grid class. I'm trying to enter code into the Init event of my grid class to make the "DblClick" event of each textbox of each column of each grid run another form. I've tried using the Controls and ControlCount commands. I get "CONTROLS" cannot be enumerated."
>>
>>Basically, I'm trying to make the grids run another form that "zooms in" on the record the user double clicks in the grid.
>
>You have to painfully specify it in each textbox's DblClick event per column per grid. You can simplify it by having a textbox class that already have the functionality you want in the DBLCLICK event.

I'm creating these grids by dragging the View, on which they are based, onto the page. I have mapped the class I want the grids based on in the Field Mapping Options. How do I specify the class for text boxes used in grids created in this fashion?

>Make use of that subclass textbox as the currentcontrol of each column.
I don't quite understand this statement.

Thanks
Elgin
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform