|
-
May 9th, 2001, 10:32 PM
#1
Icon question
Hi,
How do I take a standard Icon like the Door Icon to exit and use it in VB5 as a command button.
Any help appreciated.
Regards,
Alan
-
May 10th, 2001, 03:08 AM
#2
Re: Icon question
Change the command button style to graphical. Use the picture property to select your icon. Set the caption property to "". Have fun...
Special thanks to Lothar "the Great" Haensler, Tom Archer, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
May 10th, 2001, 03:11 AM
#3
Re: Icon question
...Or: insert a imagebox in your form. Load in its picture property the icon. Doubleclick on imagebox, and code in click event your code to exit (which should be:
set everyobiect loaded in runtime = nothing
forms opened unload
set forms = nothing
unload this form)
Special thanks to Lothar "the Great" Haensler, Tom Archer, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|