Solved

is there a way to do this?

Posted on 1998-01-23
6
129 Views
Last Modified: 2010-04-04
i am doing a proj on financial planner..
i got one midi master form which has the midi child forms etc..i want to change these midi child forms into icons..
like minimised them into icons..
is there a way to do it? help me pls.
0
Comment
Question by:wiredmind
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 3

Expert Comment

by:Matvey
ID: 1357375
Well, you can try to use some icon holding list and when an icon is clicked in it you show the forms. It's not hard, I think.

Good luck!
Matvey
0
 
LVL 4

Accepted Solution

by:
d003303 earned 0 total points
ID: 1357376
Yo,

here is a code snippet that should fit your needs :

procedure TMDIParentForm.MinimizeChildWindows;
var Index : Integer;
begin
  for Index := 0 to MDIChildCount - 1 do
   begin
     // suppose a MinimizeOK function that returns true if
     // the form should be minimized
     if MinimizeOK(MDIChildren[Index])
      then MDIChildren[Index].WindowState := wsMinimized;
   end;
end;

Slash/d003303
0
 

Author Comment

by:wiredmind
ID: 1357377
is there a way to do this in visual basic too?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:wiredmind
ID: 1357378
the code u show me does not tell me how to show the forms
as icons...like in program manager
0
 
LVL 3

Expert Comment

by:Matvey
ID: 1357379
Well, to get what you want you have to mix what I said with the answere given.

Matvey
0
 
LVL 4

Expert Comment

by:d003303
ID: 1357380
Right, Matvey. In Win3.x a minimized window was displayed as an icon. Thats why I associate iconized and minimized. Hence, in Win95, a minimized window is not an icon anymore.
If you want to have a look like program manager, take an image list with icons and a list view in vsIcon view style.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question