Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display Form without ICON

Status
Not open for further replies.

benman

Programmer
May 3, 2006
35
HK
Dear All :

Kindly enlighten me to display Form without FOX ICON.

Sample Form is displayed for reference.

Thanks in advance and happy programming.

Smarty

FormatColumns.jpg
 
set the form's icon property to an alternative icon '.ico' file.
 
Dear Andy :

This form looks dull now without the cross.

I want to keep the cross without that icon.

Smarty

FormatColumns2.jpg
 
Benman,
Take an icon editor. Make an icon all blue, same color as your header. Then in the form's icon property, list <myblueicon>.ico as the icon file for your form. Set the Controlbox property back to .T.



Best Regards,
Scott

&quot;Everything should be made as simple as possible, and no simpler.&quot;[hammer]
 
I think the color of the title bar is under the control of the user - not necessarily your blue.

Jim
 

To find the colour of the title bar:

Code:
DECLARE integer GetSysColor IN WIN32API integer
GetSysColor(2)

See also thread1254-1246425

But there's a snag. The colour of the title bar changes, depending on whether the form is active or not. You would have to create two icons, and switch between them in the form's Activate and Deactivate.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top