Instead of grid.setfocus(), try grid.column1.text1.setfocus() or whatever cotrol of the grid you want to setfocus to.
-Isaac
>I am using the FFC Framework to develop an application.
>
>In one form I am showing a grid with scheduling information for a particular day, which is based on a cursor. When I want to show the schedule for a different day, I ZAP the cursor, and then append the new records into that cursor. Then grid.setfocus() and grid.refresh()
>
>But SOMETIMES the grid shows up empty after this procedure, even if the cursor contains records. When I click with the mouse anywhere in that grid, the data "magically" appears.
>
>Of, course, I want to get rid of that "magic" and show the data all the time.
>
>Does anyone have any clues as to this behaviour?
>
>TIA!
>Hermann Strijewski,
>Clearwater, FL
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement