Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MultiMacro Dialog Problems
#4
I read the Qm Help and also on the internet. I think I understand a bit more about Modal/Modeless and about Smart Dialogs but am confused about the syntax.

For example, I would like to have my dialog run a macro, like in the answer to the post below:


http://www.quickmacros.com/forum/showthr...p?tid=1935

However, when I run the dialog in the post, the macro won't run untl you close the dialog with OK - whereas what I want is that as soon as you hit the button (e.g. control 3), the macro will run and the dialog will close. I thought that is what a modal dialog is supposed to be. Maybe it is not working because it is a Smart dialog. But then if I use a nonsmart dialog, like in the example in this thread, then how do I get the returned object number - say 3 to cause a specific macro to run.
I also am confused about how to keep the macro on top.

When I made a macro modeless, I was able to use a macro with an ont statement which had a window trigger that was the Dialog window Name/Handle. It seems like this is a roundabout way of going about things.

I am sorry I am so confused. These dialogs seem to be the hardest thing for me to understand. I just want it to work like a menu or toolbar (i.e. macro runs and menu closes) - but with the big buttons like above.


Thank,
Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)