Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Properties
Message
From
28/04/2004 14:40:29
 
 
To
28/04/2004 14:31:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00899043
Message ID:
00899072
Views:
16
OK more complex
Start
CL1.ColumnOrder = 1
CL2.ColumnOrder = 2
CL3.ColumnOrder = 3
programmatically change 
CL1.ColumnOrder=3
you have this result
CL1.ColumnOrder = 3
CL2.ColumnOrder = 2
CL3.ColumnOrder = 1
NOW, if
This.ActiveColumn is 3 the active column is CL1
but
This.Columns[This.Columns[This.ActiveColumn].ColumnOrder] is CL1

Now, programmatically another change 
CL2.ColumnOrder=1
you have this result
CL1.ColumnOrder = 3
CL2.ColumnOrder = 1
CL3.ColumnOrder = 2
NOW, if
This.ActiveColumn is 1 the active column is CL2
but
This.Columns[This.Columns[This.ActiveColumn].ColumnOrder] is CL3 !
Previous
Reply
Map
View

Click here to load this message in the networking platform