Solved

is there a way to do this?

Posted on 1998-01-23
6
130 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
Industry Leaders: 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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

732 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