Modify the size of a dialog with code?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
fightcancer
Macro Veteran
Posts: 260
Joined: Fri Apr 15, 2005 8:32 am

Modify the size of a dialog with code?

Post by fightcancer » Sat Apr 12, 2014 7:26 pm

Is it possible? Thanks.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Sat Apr 12, 2014 7:31 pm

If you mean a macro scheduler custom dialog, then yes. Set the width and height properties with SetDialogProperty. May also need to set the Position property as this can override width and height.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

fightcancer
Macro Veteran
Posts: 260
Joined: Fri Apr 15, 2005 8:32 am

Post by fightcancer » Sat Apr 12, 2014 7:41 pm

Ok, thanks for the amazingly fast and good support!

The problem is that I'm just using dialogs for the first time and I was confused on the way the modal property worked. When I had the line "Show>Dialog1,r" it wouldn't change the size of the custom dialog. Figured it out now. Doh!

Thanks again!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts