dInit "This is another, which is positioned bottom right!",$4
rem this is a trick! dPosition 1,1
dPosition 1,1
dText "The position should not affect this dialog",""
dBUTTONS "OK",13,"Cancel",-27
dialog
dInit "This is another, which is positioned top left!",$4
rem this is a trick! dPosition -1,-1
dPosition -1,-1
dText "The position should not affect this dialog",""
dBUTTONS "OK",13,"Cancel",-27
dialog
endp
You can see this right now?
You can try with other types as well.
Pawel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
But there's another problem: if you enter the following code,
a slider appears at the right of the dialog box (though there's
enough space to show the entire dialog).
dInit "Test"
dPosition 1,1
dText "","left",0
dText "","center",2
dText "","right",1
dText ""," "
dText "","Text to be displayed",2 OR $200
dText ""," "
dButtons "Again",%A,"-",%A,"-",%A,"Exit",%X
again&=Dialog
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=954979
Gyorgy,
Try this code.
dInit "This is positioned bottom right!",$4
dPosition 1,1
dText "The position should not affect this dialog",""
dBUTTONS "OK",13,"Cancel",-27
dialog
I think this should solve your problem.
I do not know if it should be still recorded as a bug or not.
Rick, what do you think?
Ciao,
Pawel
Logged In: YES
user_id=98901
Pawel,
Sorry for being so easily misunderstood.
The whole dialog box should be on the bottom of the screen
according to the UIQ style guide.
I don't really understand how the flag $4 (which is for "use
the whole screen" according to OPL Wiki) could change this
behaviour...
Regards,
Tice
Logged In: YES
user_id=98901
Pawel,
Sorry for being so easily misunderstood.
The whole dialog box should be on the bottom of the screen
according to the UIQ style guide.
I don't really understand how the flag $4 (which is for "use
the whole screen" according to OPL Wiki) could change this
behaviour...
Regards,
Tice
Logged In: YES
user_id=954979
Tice,
Look at attached proc please.
proc TestDialog:
dInit "This is another, which is positioned bottom right!",$4
rem this is a trick! dPosition 1,1
dPosition 1,1
dText "The position should not affect this dialog",""
dBUTTONS "OK",13,"Cancel",-27
dialog
dInit "This is another, which is positioned top left!",$4
rem this is a trick! dPosition -1,-1
dPosition -1,-1
dText "The position should not affect this dialog",""
dBUTTONS "OK",13,"Cancel",-27
dialog
endp
You can see this right now?
You can try with other types as well.
Pawel
Logged In: YES
user_id=98901
OK, now I see :-)
But there's another problem: if you enter the following code,
a slider appears at the right of the dialog box (though there's
enough space to show the entire dialog).
dInit "Test"
dPosition 1,1
dText "","left",0
dText "","center",2
dText "","right",1
dText ""," "
dText "","Text to be displayed",2 OR $200
dText ""," "
dButtons "Again",%A,"-",%A,"-",%A,"Exit",%X
again&=Dialog