Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One - many layout ??s
Message
 
À
08/01/1999 22:53:57
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00173318
Message ID:
00174289
Vues:
32
Go ahead and hesitate, Nancy. It isn't OOP, since the grid isn't self-contained, but it DOES work. I generally follow your first suggestion - put the code in the grid DblClick and then call that from the text boxes (or other grid controls).

>Steve (via Barbara)
>
>Or, you could put the code in the grid's double click and call the grid's double click from the control's. Or even, cascade the calls up thru the object hierarchy to the grid's doubleclick.
>
>I guess I'd hesitate to put the method for a grid's control at the form level.
>
>
>>I only have one thing to add for Steve: In a grid, you need to put the double-click code into EACH Mygrid.ColumnN.TextBox control. If you put it into the GRID DblClick the TextBox controls will override it. If you wish the DblClick code on each column to be the same, then put it into a form method and in each DblClick method simply put: Thisform.MyDblClick()
>>
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform