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:
00398431
Vues:
21
>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. Make use of that subclass textbox as the currentcontrol of each column.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform