Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Completely stumped
Message
De
31/07/2000 14:45:03
 
 
À
31/07/2000 14:34:58
Bruce Covey
Home Depot Television
Atlanta, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00398904
Message ID:
00398928
Vues:
13
Does the value of thisform.currec change when you do append blank? If so your GOTO is saying go to where you are.What happens if you set a variable to RECNO() when you start and then GOTO that variable?
>When I rightclick() the grid on page1, I execute the following:
>
>thisform.currec = RECNO()
>DO CASE
> CASE tnBar = 1 &&Add
> APPEND BLANK
> this.pageframe1.page2.enabled = .T.
> this.pageframe1.page1.enabled = .F.
> _screen.activeform.closable = .F.
> this.pageframe1.activepage = 2
>
>I hit the cancel button on page2 to execute:
>
>tablerevert()
>GOTO thisform.currec
>thisform.pageframe1.page2.enabled = .F.
>thisform.pageframe1.page1.enabled = .T.
>thisform.pageframe1.activepage = 1
>
>The activate event of page1 is:
>
>thisform.pageframe1.page1.grdperson.column2.setfocus
>_screen.activeform.closable = .T.
>thisform.refresh
>
>When I cancel from an edit it works fine, but the pointer never really moved.
>If I save an Add, it also works fine.
>
>Thanks for your help
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform