Macros - Forms

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

Re: Macros - Forms

Postby merrick » Sun Aug 27, 2017 6:30 pm

Can the form be displayed as modal dialog?
merrick
 
Posts: 32
Joined: Fri Aug 18, 2017 8:20 pm

Re: Macros - Forms

Postby Robertspark » Sun Aug 27, 2017 6:45 pm

merrick wrote:Can the form be displayed as modal dialog?



What is a modal dialog?

Macro (m-code), yes
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Macros - Forms

Postby merrick » Sun Aug 27, 2017 7:24 pm

I'm talking about dialog box modal. The answer is yes. Using ShowDialog(exec.mainform)
merrick
 
Posts: 32
Joined: Fri Aug 18, 2017 8:20 pm

Re: Macros - Forms

Postby beefy » Sun Aug 27, 2017 9:37 pm

I came across the modal thingy a couple of days ago:

The Show function shows the form in a non modal form. This means that you can click on the parent form.

ShowDialog shows the form modally, meaning you cannot go to the parent form


Keith
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am

Re: Macros - Forms

Postby Robertspark » Mon Aug 28, 2017 6:34 am

Thanks Keith, learnt something else new
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Previous

Return to Macros

Who is online

Users browsing this forum: No registered users and 7 guests

cron