| View previous topic :: View next topic |
| Author |
Message |
loughlin Newbie
Joined: 04 Dec 2002 Posts: 2
|
Posted: Thu Dec 05, 2002 12:01 am Post subject: making a simple windows message box |
|
|
I have been playing with this for a couple of days... So I'm really new..
I want to make a script that displays a warning message. I couldn't figure out how to dump text to the window.
Any help would be much appreciated.
Thanks.
 |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Dec 05, 2002 12:11 am Post subject: |
|
|
Could ya be more specific?
If ya just want a popup window with an OK button,
there's a couple of easy ones - INFO and WARN.
INFO "Hey! Pay attention!"
or
WARN "I'm warnin' ya!"
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
loughlin Newbie
Joined: 04 Dec 2002 Posts: 2
|
Posted: Thu Dec 05, 2002 3:18 pm Post subject: |
|
|
Thank you!  |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Thu Dec 05, 2002 4:22 pm Post subject: |
|
|
Here are some more functions like info and warn.
| Code: | %z = @input(Type something usefull...)
info You typed:@cr()%z
%z = @ask(Yes or no?)
if @equal(%z,1)
info Yes!
else
info No... :-(
end
%z = @query(Press OK to continue.)
if @equal(%z,1)
info You pressed OK!
else
info Why not?
end |
There is also a @msgbox() function, but for that one you'll have to look in the VDS Helpfile, because it's a bit difficult... |
|
| Back to top |
|
 |
|