Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set DoubleClick event for Text Boxes in Grids
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00398429
Message ID:
00398433
Views:
31
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform