|
-
Apr 27th, 2005, 04:25 AM
#1
Thread Starter
Member
[RESOLVED] :Load icon at runtime in StatusBar ??
Hi ,
Does anyone know how to load an icon into the StatusBar, at runtime ?
Element to be loaded: StatusBar1.Panels(0).Icon
What's the command to load the icon?
Thanks,
Joao.
Last edited by jfortes; Apr 27th, 2005 at 05:05 AM.
Reason: RESOLVED
-
Apr 27th, 2005, 04:30 AM
#2
Hyperactive Member
Re: Load icon at runtime in StatusBar ??
Try:
VB Code:
StatusBar1.Panels(0).Icon = New Icon("c:\squirrel.ico")
Because all status bars should have a squirrel icon in them
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.
Dr. Seuss 
-
Apr 27th, 2005, 04:48 AM
#3
Thread Starter
Member
[RESOLVED] Re: Load icon at runtime in StatusBar ??
thanks so much, it works just fine.
Joao.
-
Apr 27th, 2005, 04:57 AM
#4
Hyperactive Member
Re: Load icon at runtime in StatusBar ??
J,
To update as resolved, you need to edit the title of your first post (and you can change the icon to) so that it shows in the main index page rather than just attached to your last post.
Glad to be of service tho'
LMS
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.
Dr. Seuss 
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
|