Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
About grid
Message
De
17/11/2004 11:07:20
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
About grid
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
00962234
Message ID:
00962234
Vues:
44
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform