Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid not displaying Order of source
Message
De
25/03/1999 16:28:05
 
 
À
25/03/1999 16:18:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00202079
Message ID:
00202108
Vues:
18
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform