Menu

#55 DIALOG

UIQ
open
nobody
runtime (56)
5
2004-03-17
2004-03-17
Tice
No

According to the UIQ Style Guide the dialogs should
appear on the bottom of the screen. In the current
release it is center aligned.

Discussion

  • Pawel Durys

    Pawel Durys - 2004-03-17

    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

     
  • Tice

    Tice - 2004-04-08

    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

     
  • Tice

    Tice - 2004-04-08

    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

     
  • Pawel Durys

    Pawel Durys - 2004-04-08

    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

     
  • Tice

    Tice - 2004-04-08

    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

     

Log in to post a comment.

MongoDB Logo MongoDB