Mainform not resizable (bsDialog vs bsSizable)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #34401
    ralfiii
    Participant

    Hello!

    I need to create an application where the mainform is not sizable.

    I can do that by setting BorderStyle to bsDialog but then the form misses the Minimize-button and the Application-Icon.

    I could do that by setting the constraints to Width/Height, but then the user can click on the maximize-button (or double click the caption bar) and then the AlphaSkins get confused, the caption is missing and things look really bad.

    Ideas?

    Thanks!

    #45056
    Support
    Keymaster

    Maybe, BorderStyle:= bsSingle?

    #45063
    ralfiii
    Participant
    'Support' wrote:

    Maybe, BorderStyle:= bsSingle?

    They you can maximize the app which changes it's width.

    I went for bsDialog.

    Is there a possibility to show the Application icon in the form border even though the form has the bsDialog-BorderStyle?

    #45218
    Support
    Keymaster
    'ralfiii' wrote:

    They you can maximize the app which changes it's width.

    Remove biMaximize from BorderIcons.

    #45224
    ralfiii
    Participant
    'Support' wrote:

    Remove biMaximize from BorderIcons.

    You're the man!!!

    Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.