Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid change position after Refresh
Message
From
15/01/1999 13:04:15
 
 
To
15/01/1999 12:54:17
Senna Dwipayana
Indo Rebel Apparel Cv
Bandung, Indonesia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00176580
Message ID:
00176589
Views:
24
>I put a listbox and a grid (based on cursor),
>the contents of grid change when listbox value changed, if I'm not add "Thisform.mygrid.refresh()" on the end of listbox.interactivechange code, the contents of grid didn't change, but if I put refresh, contents of grid changes and also grid position changed, the grid looks also messy, why this happens ?
>I tried set lockscreen=.t. and lockscreen=.f.(after refresh) but still got a same result.
>
>
>
>TIA :)

If during this process you overwrite grid.recordsource then you force grid to be rebuilt from scratch with defaults on column.controlsource, width (is this what you call 'messy'?) etc. So the remedy is either keep/restore all settings or don't overwrite the recordsource.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform