Try to add a WAIT of some small timeout like .001 right infront refresh.
Agnes
>Hi,
>
>I had tried that, by setting activepage and refresh it,
>same thing happened too.
>
>>Hi
>>
>>
Zorder is wrong way here. The page is not 'behind' an other page, the page is not active.
>>So you need to activate.
>>Try
activate event of page or
activepage property of pageframe.
Refresh after that.
>>
>>Agnes
>>>Hi,
>>>
>>>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.
>>>
>>>Thank you
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]