Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Columns freeze in grids Select rows Highlighted
Message
From
01/09/1998 10:52:25
 
 
To
01/09/1998 09:09:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00131808
Message ID:
00131891
Views:
19
>>>>>>I want freeze columns in grids
>>>>>>
>>>>>>I want to highlight the selected row
>>>>>>
>>>>>>How can help me
>>>>>>
>>>>>>Thanks,
>>>>>>
>>>>>>Jan Dorresteijn
>>>>>Jan,
>>>>>For highlighting check files\classes section for "Two grid classes-gridx.zip". For freezing it's best and simple to set other columns enabled = .f. or "return .f." in when.
>>>>>Cetin
>>>>
>>>>Thanks for you reply
>>>>
>>>>If have download the grid classes-gridx.zip to look at the highlighted example
>>>>
>>>>I have tested the freese option
>>>>but if i set the grid.enabled to .f. or return .f. in the when there is
>>>>no scrolling at all possible.
>>>>
>>>>I want to freeze only one column.
>>>>If you have an other idee please reply.
>>>>
>>>>Kind regard
>>>>
>>>>
>>>>Jan dorresteijn
>>>Jan,
>>>Freeze means do not let horizontal scrolling with keyboard to the fields not in freeze list. You could still scroll with clicking on horizontal scroll bar. Or in fact you want to step on all the fields with keyboard but only let edit some column ? If so just set readonly = .t. for columns that wouldn't be edited.
>>>Cetin
>>
>>I want to have the first column always on the left site in the grid.
>>So if i scroll to the right the columns must be scroll only the first
>>column must stay on the left top
>OIC. It's locking not freezing. You could split the grid and left partition could show the first column always (add code there to force stay on right). Another trick is to change columnorder of "that" column to be -1 of second visible column.
>Cetin


I have change in the grids.scrolled event
this.column1.columnorder = this.leftcolumn
It worked.

Thanks for your help

Regards jan
Previous
Reply
Map
View

Click here to load this message in the networking platform