Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want MESSAGEBOX to time out.
Message
From
26/06/1998 14:36:15
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00111994
Message ID:
00112025
Views:
30
>>>How about making your own messagebox equivalent that times out? just make a modal form, with a timer on it to close the form after however much time you choose. If you call the form with:
>>>
>>>DO FORM mymessbox TO lvar
>>>
>>>IN the form somewhere set lvar to whatever result you get from pressing either button...
>>>
>>>And in the Unload RETURN lvar
>>>
>>>Jerry
>>----
>>Hi Jerry -
>>that sounds great, but where to I put the timer? I did look for a timer
>>property in the FORM and could not find one. can you give me a small code
>>sample?
>>
>>thanks
>
>The timer is a control you drop on the form. You set timer properties just like any other control -- like the amount of time to elapse before the timer fires. If you want the timer to fire after 5 seconds, you set that property to 5000 (1000 per second). In the timer, you would put something like ThisForm.Release().
---
Hi Mark
Ok - I dropped the timer control on the form. Where do I put 5000?
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform