Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid behavior
Message
From
19/06/2001 19:59:50
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00521233
Message ID:
00521254
Views:
22
>I've not seen that behaviour in the exact situation you describe, but I have seen it elsewhere. Leaving 1 pixel between the right-hand edge of the right-most column and the left-hend edge of the scroll bar seems to work.

This is what some of us did to fix it. However, it's brakes the layout a little bit.

This is what I added tonight in our BaseForm::Save() method:
* Workaround for a grid which becomes offset if we are sitting in the last column
IF TYPE('_screen.ActiveForm.ActiveControl')='O' AND _screen.ActiveForm.ActiveControl.BaseClass='Grid'
   _screen.ActiveForm.ActiveControl.Column1.SetFocus()
ENDIF
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform