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
disable checkbox with icon set hilite to false
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
disable checkbox with icon set hilite to false
https://alternatic.ch
Re: disable checkbox with icon set hilite to false
I tested from the message box with a single radio button and did not see this problem:
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.
Code: Select all
set the hilite of btn 1 to true
disable btn 1
put the hilite of btn 1
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: disable checkbox with icon set hilite to false
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
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
Last edited by jmburnod on Thu Mar 12, 2015 6:28 pm, edited 1 time in total.
https://alternatic.ch
Re: disable checkbox with icon set hilite to false
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
Using a white grc with blendlevel is better and simpler than the way that I explained in my last post.
Best regards
Jean-Marc
https://alternatic.ch