?
Solved

Icon in  form title  bar

Posted on 2003-03-26
10
Medium Priority
?
144 Views
Last Modified: 2010-04-04
I have an mdi application with 3 different types of children.  When I set the icon property for the children 1 type places the icon in the title bar and the other 2 types do not.  The icon is set because I am copying it to a button for each window and that changes when the property changes.  I am having a hard time figuring out what else could be different between these 3 types of windows.  Any suggestions?
0
Comment
Question by:jbshumate
[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
10 Comments
 
LVL 1

Expert Comment

by:FrankTheRat
ID: 8212403
1. Have you tried setting the icons at design time? I haven't tried doing it at run time but design time works fine.

2. I assume that all the child forms are descendants of TForm, and not of each other, or are they all the same type?

3. Let me know where you are setting the icon: in the constructor or somewhere else?

FrankTheRat
0
 
LVL 1

Author Comment

by:jbshumate
ID: 8213268
I am setting the icon at design time and it works fine for one of the child forms but not the other 2.  I looked at the help file and it said the icon property sets the icon used when the window is minimized, but I always thought it also set the icon used in the title bar.  The forms all derive from TForm.

Thanks
0
 
LVL 1

Author Comment

by:jbshumate
ID: 8213366
I am setting the icon at design time and it works fine for one of the child forms but not the other 2.  I looked at the help file and it said the icon property sets the icon used when the window is minimized, but I always thought it also set the icon used in the title bar.  The forms all derive from TForm.

Thanks
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!

 
LVL 1

Author Comment

by:jbshumate
ID: 8213658
I am setting the icon at design time and it works fine for one of the child forms but not the other 2.  I looked at the help file and it said the icon property sets the icon used when the window is minimized, but I always thought it also set the icon used in the title bar.  The forms all derive from TForm.

Thanks
0
 
LVL 1

Author Comment

by:jbshumate
ID: 8214017
I am setting the icon at design time and it works fine for one of the child forms but not the other 2.  I looked at the help file and it said the icon property sets the icon used when the window is minimized, but I always thought it also set the icon used in the title bar.  The forms all derive from TForm.

Thanks
0
 
LVL 1

Author Comment

by:jbshumate
ID: 8214025
This was my fault.  2 of the windows did not have style set to sizable.  Apparently that changes the icon behaviour.
0
 
LVL 1

Author Comment

by:jbshumate
ID: 8214206
This was my fault.  2 of the windows did not have style set to sizable.  Apparently that changes the icon behaviour.
0
 

Expert Comment

by:CleanupPing
ID: 9316595
jbshumate:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 10695476
PAQed, with points refunded (50)

modulo
Community Support Moderator
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

777 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