04-12-2010 02:47 PM - edited 04-12-2010 02:49 PM
Here's a tip that I've known for a while, but after finding out that some LAVA guys didn't know it, I figured I should post it as a weeekly nugget. If you want your Boolean checkbox controls to have clickable text (i.e. clicking the checkbox text will toggle the checkbox just like clicking the checkbox itself), you need to show only the Boolean Text on the checkbox and hide the Label:
By default, you see the Label and the Boolean Text of a checkbox when you first drop it. Clicking the label will not toggle a checkbox value at runtime. So you need to change the Boolean Text to whatever user-visible text you want (typically it's the same as the label), then hide the label. Now your user will be able to toggle the checkbox value by clicking its text or the checkbox itself.
04-14-2010 01:49 AM
Be great if you could also do this on Radio Buttons.
BTW the boolean text on my controls is never the same as the label. It also seems to position itself a bit differently to the label.