Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird problem with PageFrame
Message
De
09/02/2004 22:03:47
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00875370
Message ID:
00875751
Vues:
23
Hi,

Thank for your advise, I done similar thing as you
and it working fine.

However, I had my activate page on my main form as one
of the method to be called by the button click event, hence
I can't use this.parents.parents.ActivePage = 1



But call the following method in my button click event

THISFORM.GoWelcomePage()

GoWelcomePage() method
======================

THISFORM.pfgMain.ActivePage = 1
THISFORM.pfgMain.Refresh()

ENDPROC

Any way to activate my code without the
refresh issue. Thank in advance


>Virusim,
>
>I just created a new form, dropped a VFP pageframe on it and on page 2 added a button with this Click code:
>
>this.Parent.Parent.ActivePage = 1
>
>it works just fine.
>
>You should not be calling Zorder at all.
>
>>My application is using VFP8 with SP1.
>>On my form, I had a Pageframe with 04 pages.
>>
>>On the second page, I had 04 buttons.
>>One of the button when click will go to the first page
>>of the pageframe. With code below
>>
>>GoWelcomePage click()
>>=====================
>>
>>THISFORM.pfgMain.PgWelcome.Zorder
>>THISFORM.pfgMain.PgWelcome.Refresh()
>>
>>
>>However, when the pageframe is at the first
>>page, any mouse movement within 2 second,
>>my previous page button caption is show on
>>the first page. But this incident does not
>>happen when I move the mouse after 3 second or
>>more.
>>
>>This seem to be some refresh problem. Anyone
>>had similar problem or solution for me.
Best Regards
Virusim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform