Jump to content
Macro Express Forums

How to create a dialog box with several buttons


Recommended Posts

Is there a way to create a dialog box using Macro Express Pro with some text and two (or more) buttons? Something like this:

 

-----------------------------------------

Do you want to continue?

 

| Yes | | No |

-----------------------------------------

 

 

Then, store the result in a variable?

Link to comment
Share on other sites

Yes. The command is Variable Set Bool %Result% to "If Message".

 

<VARIABLE SET BOOL Destination="%Result%" Command="151" Caption="Continue?" Message="Do you want to continue?" BtnMode="\x00" Default="TRUE" Left="Center" Top="Center" Monitor="0" Delay="0"/>

Link to comment
Share on other sites

More than two buttons? No. But I often use the Multiple Choice command to do essentially this. I can ask them

 

Do you wan to :

=Eat Lunch

=Go to the store

=Have a beer

 

Where they select one or multiple items and continue.

Link to comment
Share on other sites

Yes. The command is Variable Set Bool %Result% to "If Message".

 

<VARIABLE SET BOOL Destination="%Result%" Command="151" Caption="Continue?" Message="Do you want to continue?" BtnMode="\x00" Default="TRUE" Left="Center" Top="Center" Monitor="0" Delay="0"/>

 

Thank you Kevin, this is exactly what I was looking for.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...