wsMaximized

Hello,
I'm trying to get this old project to function. The first splash screen that comes up is supposed to be fully maximized to the window (no taskbar or anything). The original developers set windowState to wsMaximized which i believe should have done the trick. However, the form just runs at the same time during design time. The Position property of the original screen was set to poDefault.
Also, originally all the border icons used to be disabled. However, if I do enable only minimize and the bisystemMenu and then minimize then return (maximize is not an option), the app will take on the full screen size.
Any ideas where else i should look?

Thank you

Comments

  • Hi,
    Actually, I found this link http://www.delphi3000.com/articles/article_2863.asp?SK=

    and it told me that if windowState is pre-set it may not work. I set the form to wsNormal then afterward set the form to maximized through the code. This worked if anyone else discovers the same issue

    Sample Code
    MenuForm = new TMenuForm (Application);
    MenuForm->Show();
    MenuForm->WindowState = wsMaximized; //form *.dfm is set to wsNormal
    MenuForm->Update();

    : Hello,
    : I'm trying to get this old project to function. The first
    : splash screen that comes up is supposed to be fully maximized to the
    : window (no taskbar or anything). The original developers set
    : windowState to wsMaximized which i believe should have done the
    : trick. However, the form just runs at the same time during design
    : time. The Position property of the original screen was set to
    : poDefault.
    : Also, originally all the border icons used to be disabled.
    : However, if I do enable only minimize and the bisystemMenu and then
    : minimize then return (maximize is not an option), the app will take
    : on the full screen size.
    : Any ideas where else i should look?
    :
    : Thank you
    :

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion