Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

is there a way to do this?

Posted on 1998-01-23
6
Medium Priority
?
133 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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 this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

609 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