Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid not displaying Order of source
Message
From
25/03/1999 16:28:05
 
 
To
25/03/1999 16:18:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00202079
Message ID:
00202108
Views:
17
>>>Purpose of grid - provide 'browse' look at multiple records.
>>>
>>>I have a read-only grid with column controlsource of Plot.custname, Plot.ID, etc.
>>>
>>>Elsewhere on form I handle add/edit with textboxes.
>>>
>>>Plot is set to order custname.
>>>
>>>If I add new record of custname = 'AAA' it will initally display in grid as last record.
>>>
>>>If I click and hold on vertical scrollbar and move upward, then record will jump to correct position.
>>>
>>>I haven't figured out how to programmatically duplicate what is happening when I move scroll bar upward with mouse. Tried grid.setfocus, etc.
>>
>>Grid.Refresh
>
>Upon experimentation it appears the problem only occurs when the new record would display as the top item in the entire table.

Try Grid.Refresh, Grid.Setfocus together.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform