in
Innovasys Logo

ButtonPlus turns black when disabled

Last post 11-13-2008 12:18 AM by FLOG51. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 10-10-2008 5:30 AM

    • FLOG51
    • Top 150 Contributor
    • Joined on 10-10-2008
    • Posts 2

    ButtonPlus turns black when disabled

    Hi, I am having some issues when adding an image icon to the very awesome button plus controls. The standard graphical setup for Command buttons in VB6 turns the image to a darker Button Face shadow when it is disabled, however when same carried out with ButtonPlus the image turns black. Has a very dramatic effect in that in drowns out the active button, (opposite of intent).

    I have attempted every variation in properties with no luck, seems black is back!!!

    Any ideas would be much appreciated.

    FLOG51

  • 10-31-2008 3:11 AM In reply to

    Re: ButtonPlus turns black when disabled

    Hi, Although I am only new to these fabulous buttons myself, I have noticed that same problem. What I did notice though was that if I use an icon with transparencies then all that turned black was the image itself which is fine for a disabled button. It seems that it turns any colour it finds to black. No colour in the image (transparency) no problem. Try a programme like GConvert5 or IconCool editor (both free to try) to convert your image to an icon with transparencies and your problem will disappear. I hope this helps. Gary O'Connor.
  • 10-31-2008 3:21 AM In reply to

    Re: ButtonPlus turns black when disabled

    Incidently, I have written a simple addition in vb6 that allows you to use these fabulous buttons on your message boxes too. Nothing looks worse than a message box with those ugly buttons spoiling the look of your recently 'Innovasys' button upgraded programme. It's not an ocx or a dll just a module and a form to add to your programme and you can have fabulous message boxes as well. I'm only new here so I don't know if I can upload it for anyone to use but let me know and I'll email it to you if you want it. Gary O'Connor
  • 11-13-2008 12:18 AM In reply to

    • FLOG51
    • Top 150 Contributor
    • Joined on 10-10-2008
    • Posts 2

    Re: ButtonPlus turns black when disabled

    Hi Gary

    Sorry for the late response, been out of action for awhile. I use the GIMP and an online icon converter to manage your image icon suggestion. My big issue was that I have a sequence of 12 buttons in a row that a disabled when a function is called. The button that remains enabled, is the age old brown floppy disc image for "save" and even though it is the only enabled button on the screen it disappears amongst the black no matter what I have done to tone down the images.

     I have solved the issue by moving with the times and converting all my button images to "Words". This has allowed me to utilise the MouseEnter and MouseExit events to highlight the buttons without the black concerns, and all over it has made the application look very classy indeed.

     I have created my own MsgBox so that I can utilise the buttons on here as well, this has many benefits over and above the standard VB version, there is plenty of online forums discussing the reasons if you are interested in this approach.

     Thanks again for your follow up

    Gavan

     

     

Page 1 of 1 (4 items)