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:
00400216
Views:
26
Barbara,

Thanks. I'll most certainly give your method a try. You and Jeff have bee quite helpful.

Thanks
Elgin

>Elgin,
>Jess is correct in his directions for removing a textbox from an existing grid. However you can simply leave the textbox there and set the CurrentControl property to the correct textbox (or checkbox, combo etc.). This is how you handle the situation if you have a subclassed grid, as you cannot remove any items initiated in the original class. You can design a textbox with all of the controls you want on the grid (including calls to the Grid DblClick() code), drop it onto each column and then use SetAll() to update the CurrentControl value.
>
>HTH
>Barbara
>
>>Barbara,
>>
>>Is there not a way to programmatically set the dblclick() event for each of those text boxes in my grid? Jess had said something about making my own text box class to place in the grid. That would be really handy. I know how to make the textbox class, and drag it on the each of the columns in the grid. But how do I remove the native "textbox" that is based on the VFP class that is put in the grid when I create it?
>>
>>For that matter, how do I remove an entire column from a grid I created by dragging a view onto a form without having to change the view then "re-drag" it onto the form (or pageframe in my case).
>>
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Previous
Reply
Map
View

Click here to load this message in the networking platform