Page 1 of 1

Dialog Box...

Posted: Tue Sep 02, 2003 10:46 am
by Skipsy
Hi all,

I feel stupid... :oops: I can't find a way to create a dialog box
(DIALOG API) including text boxes, check box etc...

I can do it creating a new window but it does not "act" as a dialog. For
exemple, when a window calls a dialog and the user click on the main
window system beeps.
With my solution (new window) if I click on the main window, it hides the
"dialog".

Any idea ???
Thks

Posted: Tue Sep 02, 2003 10:49 am
by bernardfrancois
do you mean the MessageRequester() command?

Posted: Tue Sep 02, 2003 10:52 am
by Fred
You can use the new 'Parent' parameter of the OpenWindow() command, it should solve most of the problems.

Posted: Tue Sep 02, 2003 12:20 pm
by Kale
See this little program for another way to achieve a nice dialog box. I use it for an 'about box' that won't go when you click the main app. See 'about' in the help menu.

http://www.garyw.uklinux.net/PB/Finance ... 0v4.02.zip

Posted: Tue Sep 02, 2003 12:23 pm
by Skipsy
Great,

You're right. I didn't noticed this new parameter from the PB news so
I was still using v1.71.

Many thks.