Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to avoid the grid to move?
Message
 
To
02/11/2003 13:07:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00845453
Message ID:
00845467
Views:
13
>This is a situation I have found in several versions of Visual FoxPro and I'm trying to know if there is something we can do. Whenever we put a grid on a form, once we go through all the columns and reach the last one, the grid will move and will scroll on the left side by adding some kind of blank column on the right. It will only go back to its original setting as soon as we tab again. This is getting annoying. The only way we have found to avoid that is to strech the grid by a few pixels. But, this is bad for the look. We can see about 2 to 3 pixels from an empty column which is just there in order to avoid that bug. Anyone has found a way to avoid that?

Add a zero width "false" (when={;return .f.}) column as the last column and "butt" the right border of the grid next to it. Never tried it.

Removing the headers and using labels instead [of column headers] as well as setting the horizontal scroll has worked for me. Sysmetrics has a bunch of arguments that will forward dimensions of almost all the visual controls. Perhaps SYSMETRICS can offer tighter "pixel" width management.

Isn't it about time you stepped up to listview?:-)
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform