Results 1 to 4 of 4

Thread: [RESOLVED] :Load icon at runtime in StatusBar ??

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    52

    Thumbs up [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

  2. #2
    Hyperactive Member Lil Ms Squirrel's Avatar
    Join Date
    Nov 2004
    Location
    planet squirrel
    Posts
    494

    Re: Load icon at runtime in StatusBar ??

    Try:
    VB Code:
    1. 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

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    52

    [RESOLVED] Re: Load icon at runtime in StatusBar ??

    thanks so much, it works just fine.
    Joao.

  4. #4
    Hyperactive Member Lil Ms Squirrel's Avatar
    Join Date
    Nov 2004
    Location
    planet squirrel
    Posts
    494

    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
  •  



Click Here to Expand Forum to Full Width