Re: Newbie questions

new topic     » goto parent     » topic index » view thread      » older message » newer message

>Is there a predefined function in VEL for creating a message box?  By
>'message box' I mean the kind that comes up with a message and an Ok
button,
>or the one that comes up when you try to close an unsaved file in Notepad.
>I looked but couldn't find one.

VEL produces a message box with an OK button with the following command:

ShowMsg({"Hello world!"})

As for Save File dialogs, there is a ShowDialog command which displays most
of the standard system dialogs, such as: OpenFile, SaveFile, Print,
PrintSetup, Font, and Color. For example:

ShowDialog((SAVEDIALOG,Form1) -- standard system dialog to save a file

>
>I was also wondering if anything would crash if I used VEL and Win32Lib in
>the same program.

I haven't tried it but I see no reason why not.

Gary.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu