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!

Removing a form's Icon

Status
Not open for further replies.

darkman0101

Technical User
Oct 10, 2000
51
NZ
This may sound like a strange question, but, assuming that you have assigned an icon to a forms icon property how the blazes do you revert it bact to the vd befault icon for forms?

I can see no .ico or .cur file that looks like the default. I thought that the information would be in the form's .frm file and that if I opened it in notepad I could see the icon property. But as far as I can tell it is not there.

Thanks in advance
Jas
 
[tt]Form1.Icon = Nothing[/tt]

That will clear the icon. In order to revert to the default (or any other) icon you could grab it from a different form.

[tt]Form1.Icon = Form2.Icon[/tt]
VCA.gif

Alt255@Vorpalcom.Intranets.com​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top