Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple form issue problem
Message
 
To
03/07/2002 03:02:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00674845
Message ID:
00675113
Views:
12
Perhaps a form property that would be set true id a wave was being played or an image was being displayed:

procedure activate
if thisform.lwaveisplaying
... don't replay the wave file
else
... play the wave file
endif

Message boxes or loss of page focus will force the activate next time the page has focus.

>Actually, my application will control which page of the pageframe to
>display. So, after certain action by the action, will my page proceed
>to another page, but insteads of showing my intend page first, my code
>in that activate event is trigger twice since my activate event had code
>to play some wave file. I suspect that my page is slow in displaying,
>might be due to some jpg files that is display on the page, any way
>to control it. Please advise.
>
>
>>The pages activate is fired anytime the page gets focus. Selecting a page will fire the activate. Returning from a message box will fire the page's activate event.
>>
>>It sounds like you are trying to control what happens when the activate event fires. In some cases you need it to do one thing, and in others it should do something else, right?
>>
>>What is happening when activate is firing that you need to control?
>>
>>
>>>Hi,
>>>
>>>My VFP6 application had a form with a pageframe which
>>>consists of 6 pages. When I change from pages to pages,
>>>even before the pages is display, my activate events for that
>>>page will be running, so is my code on that activate events.
>>>
>>>Is there any way to control so that when certain page of
>>>the pageframe is activated, that page will show first, then
>>>the code in that page activate event is trigger ?
>>>
>>>Please kindly advise.
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform