Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking the ZOrder status of a tabless page
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00380274
Message ID:
00380278
Vues:
19
Can't you use .ActivePage to see if your page is on top?

>I want to update the text box contents of a page on the AfterRowColChange Event of a grid only if the page with the text boxes is the top page in the pageframe. Here is a snippet of my code:
>
>cEditPage = Thisform.Pageframe1.Page1.pgfCrossRef.pgEditRecord
>
>If cEditPage.ZOrder(0)
> With Thisform.Pageframe1.Page1.pgfCrossRef.pgEditRecord
> .txtComp.Value = cross.vendor
> .txtDate.Value = cross.date
> endwith
>endif
>
>My thinking was that the If statement would check to see if the pgEditRecord page was on top and then update the text box values ONLY if it is on top. However, when I click on my grid pgEditRecord is brought to the front regardless of what page is currently there.
>
>Why does my If statement change the ZOrder of the pgfCrossRef page frame?
>
>TIA
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform