Results 1 to 3 of 3

Thread: Icons on the buttons keep changing... WTH?!

Hybrid View

  1. #1

    Thread Starter
    Fanatic Member hothead's Avatar
    Join Date
    Mar 2002
    Location
    Missouri
    Posts
    692

    Icons on the buttons keep changing... WTH?!

    For some reason, when I set the Enabled property on cmdPlay to False (it's a graphical command button), the play icon I used turns into a Stop icon. Same happens when I set cmdPause.Enabled to False, only it happens with the Pause icon. When I set their Enabled properties to True, they return to normal. What's wrong?

    NOTE: This happens at runtime, not design time. And I don't add the code in, I just set their settings manually from the IDE.

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    By any chance do these buttons have the DisabledPicture property set to a picture or icon?

  3. #3

    Thread Starter
    Fanatic Member hothead's Avatar
    Join Date
    Mar 2002
    Location
    Missouri
    Posts
    692
    I did forget to check that, but I just checked it, and it says None.

    This is the strangest thing I've ever seen, and I have seen VB do weird things with programs before.

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