Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One - many layout ??s
Message
 
To
08/01/1999 22:53:57
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00173318
Message ID:
00174289
Views:
31
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform