Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Grids.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00654017
Message ID:
00657634
Views:
29
Thanks Vlad! It worked like a charm. Problem is now gone. Have a good day!


>Hi!
>
>The reason might be that you enhanced the widths of columns programmatically. In such case grid's horizontal scroll bar does not reflect change - it assumes "old" scrolling area (total width of columns), and as a result does not allow to scroll correctly. The fix is very simple - hide the scroll bars and show them again:
>
>thisform.grid1.Scrolbars = 0
>thisform.grid1.Scrolbars = 3
>
>This re-calibrates the horizontal scroll bar and it now allow to scroll correctly. You require to do this every time width of columns is changed programmatically, or you change programmatically number of columns (add or delete columns).
>
>Hope this helps.
>
>>Hopefully someone can help with this small problem in a VFP7 grid.
>>
>>You all know you can click on the thumb at the bottom of the grid and scroll to the right to see all of the columns that don't show in the grid if the columns are wider than the width of the grid itself.
>>
>>The problem is that with the grid I am using I have to click inside the grid and tab to the right in order to see the columns at the right. If I don't click inside the grid, the thumb only go so far and does not allow you to see all of the columns on the right. Does anyone know what causes this and how I can correct it?
>>
>>Any help will be greatly appreciated!
>>
>>Have a great day!
Anything worth doing is worth doing...The right way!
Previous
Reply
Map
View

Click here to load this message in the networking platform