Solved

is there a way to do this?

Posted on 1998-01-23
6
131 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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 my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

696 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