Page 1 of 1
disable checkbox with icon set hilite to false
Posted: Sat Mar 07, 2015 11:14 am
by jmburnod
Hi All,
Disable one checkbox works fine without icon
If I use Icon and hiliteicon, "disable btn My Button" sets the hilite of it to false (OS X, LC 6.7.0).
Is it a bug ?
Best regards
Jean-Marc
Re: disable checkbox with icon set hilite to false
Posted: Sat Mar 07, 2015 9:21 pm
by jacque
I tested from the message box with a single radio button and did not see this problem:
Code: Select all
set the hilite of btn 1 to true
disable btn 1
put the hilite of btn 1
If the radio button is part of a group and something changes the selected button, the original one will become unhilited. You can turn off the radioBehavior property of the group, but then you need to manage auto-hiliting yourself.
Re: disable checkbox with icon set hilite to false
Posted: Sat Mar 07, 2015 10:54 pm
by jmburnod
Jaque,
Yes. It works fine with a simple checkbox btn but not if we use icon and hiliteIcon.
I found a way to keep the hilite but we have to set the icon of btn with hiliteIcon
if the hilite of btn was true before disable it.
Best regards
Jean-Marc
Re: disable checkbox with icon set hilite to false
Posted: Thu Mar 12, 2015 6:28 pm
by jmburnod
Hi All,
Using a white grc with blendlevel is better and simpler than the way that I explained in my last post.
Best regards
Jean-Marc