Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
About grid
Message
From
17/11/2004 11:07:20
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
About grid
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00962234
Message ID:
00962234
Views:
43
Hi all
I have a form with one PAGEFRAME on it. the pageframe have two page and on each one i have a grid. i want to when i select a row in page1.grid1 and press a key (ie F12) the page2 be active and related data show in page2.grid1. all things work good but sometimes the page2.grid1 is empty and only when i press UPARROW key the data is appear in grid.
here is my code :


SELECT &CursorTempB
SET ORDER TO tag rbnum

SET FILTER TO rcode = 2

LOCATE && for go to top

thisform.pageframe1.page2.grid1.Refresh
thisform.pageframe1.page2.grid1.SetFocus
thisform.pageframe1.page2.grid1.AfterRowColChange
thisform.pageframe1.page2.grid1.ActivateCell (1,1)


what is wrong?
Thanks for your help
Next
Reply
Map
View

Click here to load this message in the networking platform