Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to add a FOR loop to update a grid?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00255835
Message ID:
00256136
Views:
24
>I have a large grid that scrolls for ever. I want to add a dblclick event while the form instanciates.
>
>Code to be added for each column:
>ThisForm.pgfBizObj.ActivePage = ThisForm.nGoToPageOnEdit
>
>I'm sure that I'll add a enter key event too later on, but I'll stick to the above for now.
>
>Where is the grid's column count seen for the first time? Thats where I want to grab that value, and then do a for / endfor loop.
>

The Grid's ColumnCount is visible in the Init of the Grid or Init of the Form (things are inited from the inside out.) What are you planning to click, a control in the Column (in which case, your Control in the Column will receive the double click), or the Heading of the control (in which case, you need to subclass the Header class), since the column doesn't have a Click or DoubleClick() event of its own.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform