Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid classes and Header method code
Message
From
03/12/1999 04:35:13
Sam Trenchard
System Support Services
London, United Kingdom
 
 
To
01/12/1999 09:52:56
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00297240
Message ID:
00298322
Views:
29
Grid column header click methods continued...
I just want to put single line method on each header like

this.parent.parent.setorder(this,this.parent.controlsource)

the setorder method of the grid i have already written. it accepts the header object reference and the control source and checks to see it it can find an index tag for expression matching or containing the control source name. all this is ok.

I would prefer not to have to write a builder ( i havn't done one yet so learning curves...). I you write the code todefine a column class how do you instantiate it at run time within a grid ?

I have found the control.writemethod in the help but cannot work out how you actualy use it. it says only available at design time in which case how can the object have an object reference to use ? I must be missing something here.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform