Is it possible to force a Dialog to open in the maximized state?
Rory
Maximizing a dialog
Moderators: JRL, Dorian (MJT support)
If the dialog is modal it could be done but it would be complicated. If the dialog is non-modal, just add a WindowAction> line. Here's a sample script:
Dialog>Dialog1
Caption=Test Dialog
Width=287
Height=154
Top=57
Left=469
Edit=msEdit1,50,24,191,This is a test
Button=Ok,104,64,75,25,5
EndDialog>Dialog1
Show>dialog1
WindowAction>1,Test Dialog
Label>ActionLoop
GetDialogAction>dialog1,r1
If>r1=2,exit
If>r1=5,continue
Wait>0.01
Goto>ActionLoop
Label>continue
/////Do stuff
Mdl>Work... work... work...
Label>exit
Hope this is helpful,
Dick
Dialog>Dialog1
Caption=Test Dialog
Width=287
Height=154
Top=57
Left=469
Edit=msEdit1,50,24,191,This is a test
Button=Ok,104,64,75,25,5
EndDialog>Dialog1
Show>dialog1
WindowAction>1,Test Dialog
Label>ActionLoop
GetDialogAction>dialog1,r1
If>r1=2,exit
If>r1=5,continue
Wait>0.01
Goto>ActionLoop
Label>continue
/////Do stuff
Mdl>Work... work... work...
Label>exit
Hope this is helpful,
Dick