Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid change position after Refresh
Message
 
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:
00176865
Views:
20
Hi Senna,

>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 ?

Have you tried to use GOTO to explicitely go to the first record that should be displayed before you call Refresh()? Also, you can use the ActivateCell() method to display the grid cursor in a specific relative row.

Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform