Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to freeze 2 columns in grid
Message
 
To
01/04/2004 08:45:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00891454
Message ID:
00891606
Views:
24
>i have only 3 columns in my grid and fits exactly in my form. when i press the right arrow key, column 2 and 3 are only shown. i want to show all 3 columns. i'm using vfp 6.0
>
>how to do this? TIA.

In addition to Marcia, you may need to add one pixel for each colom + 1. So for 3 columns, your grid width would need to be the sum of column widths + 4 (3 colums+1). To kkep it from "wiggleing" off grid when you press enter or arrow or backspace, you may need to add code to the grid.column.text.keypress event.
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform