Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

System Modal Dialog

$
0
0

Hi Guys,

How to make an input dialog as system modal? i.e, without getting the input from the user the dialog box should not go to any other control including the parent form.

The following is the code i'm using. (this code makes the dialog box stand at the top but the user can still access other forms)

d = new Dialog("Enter On Hand");
fld = d.addField(TypeId(Qty),"Enter Stock");
d.dialogForm().form().design().left(_x,4);
d.dialogForm().form().design().top(_y,3);
d.formBuildDesign().windowType(FormWindowType::PopUp);
d.run(false);

Any inputs will be greatly appreciated.

Thanks 

Andrews


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>