Howdy, Stranger!

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

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Form Minimizing Issue

I have at least 10 forms in my application which are not being automatically created by the delphi on project start. The only form that is being created at startup is application main.

All others forms are created on request with this code


[code]var
someForm : TMySomeForm;
begin
someForm := TMySomeForm.Create(self);
someForm.show;
end;[/code]

Now the issue is, if i minimize this form, it is minimized above the task bar, not in the task bar which is standard for minimizing forms. However, if i minimize the main form (which was created byt application at startup) it minimize in the standard way, and it minimize all other forms as well.

Now, My exact issue.

[*] I want all of my forms to be minimized in windows task bar, the standard windows behavior.

[*] My forms minimization should be independant. I.e if i minimize the main form, it should not minimize other forms.

Comments

  • zibadianzibadian Posts: 6,349Member
    : I have at least 10 forms in my application which are not being
    : automatically created by the delphi on project start. The only form
    : that is being created at startup is application main.
    :
    : All others forms are created on request with this code
    :
    :
    : [code]: var
    : someForm : TMySomeForm;
    : begin
    : someForm := TMySomeForm.Create(self);
    : someForm.show;
    : end;[/code]:
    :
    : Now the issue is, if i minimize this form, it is minimized above the
    : task bar, not in the task bar which is standard for minimizing
    : forms. However, if i minimize the main form (which was created byt
    : application at startup) it minimize in the standard way, and it
    : minimize all other forms as well.
    :
    : Now, My exact issue.
    :
    : [*] I want all of my forms to be minimized in windows task bar, the
    : standard windows behavior.
    :
    : [*] My forms minimization should be independant. I.e if i minimize
    : the main form, it should not minimize other forms.
    :
    A form without any parent will minimize to the taskbar and get its own taskbar button. To make a parent-less form use this code:
    [code]
    var
    someForm : TMySomeForm;
    begin
    someForm := TMySomeForm.Create([red]nil[/red]);
    someForm.show;
    end;
    [/code]
  • DanglingChapDanglingChap Posts: 4Member
    : : I have at least 10 forms in my application which are not being
    : : automatically created by the delphi on project start. The only form
    : : that is being created at startup is application main.
    : :
    : : All others forms are created on request with this code
    : :
    : :
    : : [code]: : var
    : : someForm : TMySomeForm;
    : : begin
    : : someForm := TMySomeForm.Create(self);
    : : someForm.show;
    : : end;[/code]: :
    : :
    : : Now the issue is, if i minimize this form, it is minimized above the
    : : task bar, not in the task bar which is standard for minimizing
    : : forms. However, if i minimize the main form (which was created byt
    : : application at startup) it minimize in the standard way, and it
    : : minimize all other forms as well.
    : :
    : : Now, My exact issue.
    : :
    : : [*] I want all of my forms to be minimized in windows task bar, the
    : : standard windows behavior.
    : :
    : : [*] My forms minimization should be independant. I.e if i minimize
    : : the main form, it should not minimize other forms.
    : :
    : A form without any parent will minimize to the taskbar and get its
    : own taskbar button. To make a parent-less form use this code:
    : [code]:
    : var
    : someForm : TMySomeForm;
    : begin
    : someForm := TMySomeForm.Create([red]nil[/red]);
    : someForm.show;
    : end;
    : [/code]:

    nops man, it does not work. I have tried this.
Sign In or Register to comment.