Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Giving code to a grid column at runtime.
Message
From
05/08/1999 07:18:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Giving code to a grid column at runtime.
Miscellaneous
Thread ID:
00250099
Message ID:
00250099
Views:
70
Hi!

I want to set the
grid.columnX.header1.click()

code at runtime How can I do this?

I tried....

&ctheControl="thisform.browselist.column"+alltrim(str(i))+'.header1.WriteMethod("click","thisform.sortcolumn")'
&ctheControl

All I really need is for this click event to have the code...
thisform.sortcolumn

for all columns..

The problem is I don't know how many columns there are until runtime..

I hope I'm clear..
Next
Reply
Map
View

Click here to load this message in the networking platform