Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

choice boxes (Real Studio getting started Mailinglist archive)

Back to the thread list
Previous thread: Need Help - extract unstructured data for parse reformat and import into DB
Next thread: timer accuracy


choice boxes   -   GW
  Re: choice boxes   -   Phil Heycock
   Re: choice boxes   -   Terry Ford
  Re: choice boxes   -   Terry Ford
  Re: choice boxes   -   Terry Ford

choice boxes
Date: 01.02.04 11:14 (Sun, 01 Feb 2004 10:14:57 +0000 (GMT))
From: GW
On 25 Jan, <email address removed> wrote:
I am trying to find a way to present the user with a choice box - OK or
Cancel - which will then determine the program flow. Creating this is not
a problem, but I wanted to do it in such a way that, as with a MsgBox, no
further user action is possible until they have acknowledged either of the
options. Can anyone tell me a way to do this as I can't find it in any of
the usual documentation

Regards
Kevin Edwards RB for Windows v 5.2.4

- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: choice boxes
Date: 01.02.04 14:43 (Sun, 01 Feb 2004 08:43:48 -0500)
From: Phil Heycock
Read up on 'Window' Class. Create a new window. In the 'Properties' window,
choose 'Modal Dialog' in 'Frame' property. That window will remain
frontmost, and program execution elsewhere is suspended until the window is
dismissed'.

PWH
**************************************************
the on 2/1/04 5:14 AM, Kevin(GW) at <email address removed> wrote:

> On 25 Jan, <email address removed> wrote:
> I am trying to find a way to present the user with a choice box - OK or
> Cancel - which will then determine the program flow. Creating this is not
> a problem, but I wanted to do it in such a way that, as with a MsgBox, no
> further user action is possible until they have acknowledged either of the
> options. Can anyone tell me a way to do this as I can't find it in any of
> the usual documentation
>
> Regards
> Kevin Edwards RB for Windows v 5.2.4

- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: choice boxes
Date: 01.02.04 14:57 (Sun, 01 Feb 2004 05:57:25 -0800)
From: Terry Ford
Phil,

A Modal Dialog Frame doesn't make the window modal. It's your code
that stops the execution of the methods code.

Try opening a modal Dialog window with .show and in the next line
put a Message Box and you'll see.

Terry

At 8:43 AM -0500 2/1/04, Phil Heycock wrote:
>Read up on 'Window' Class. Create a new window. In the 'Properties' window,
>choose 'Modal Dialog' in 'Frame' property. That window will remain
>frontmost, and program execution elsewhere is suspended until the window is
>dismissed'.

- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Re: choice boxes
Date: 01.02.04 13:36 (Sun, 01 Feb 2004 04:36:11 -0800)
From: Terry Ford
At 10:14 AM +0000 2/1/04, Kevin(GW) wrote:
>On 25 Jan, <email address removed> wrote:
> I am trying to find a way to present the user with a choice box - OK or
> Cancel - which will then determine the program flow. Creating this is not
> a problem, but I wanted to do it in such a way that, as with a MsgBox, no
> further user action is possible until they have acknowledged either of the
> options. Can anyone tell me a way to do this as I can't find it in any of
> the usual documentation
>
> Regards
> Kevin Edwards RB for Windows v 5.2.4

ShowModal is what you're looking for.

A good starting example is available from Matt Neuburg's posted
examples from his REALbasic: The Definitive Guide.
http://www.tidbits.com/matt/rbbookexamples/p242showModal.hqx

HTH

Re: choice boxes
Date: 01.02.04 14:46 (Sun, 01 Feb 2004 05:46:18 -0800)
From: Terry Ford
At 4:36 AM -0800 2/1/04, Terry Ford wrote:
>At 10:14 AM +0000 2/1/04, Kevin(GW) wrote:
>>On 25 Jan, <email address removed> wrote:
>> I am trying to find a way to present the user with a choice box - OK or
>> Cancel - which will then determine the program flow. Creating this is not
>> a problem, but I wanted to do it in such a way that, as with a MsgBox, no
>> further user action is possible until they have acknowledged either of the
>> options. Can anyone tell me a way to do this as I can't find it in any of
>> the usual documentation
>>
>> Regards
>> Kevin Edwards RB for Windows v 5.2.4
>
>ShowModal is what you're looking for.
>
>A good starting example is available from Matt Neuburg's posted
>examples from his REALbasic: The Definitive Guide.
>http://www.tidbits.com/matt/rbbookexamples/p242showModal.hqx
>

Oops.. I should have mentioned, "Do the Tutorial." There are examples
in it as well.