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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only