Skip to Content
0
Former Member
Apr 14, 2014 at 11:28 AM

Remove disabled look from multilineedit.

30 Views

Hello!

I've got some dynamic layout work to do in PB Classic. I've got some layouts which requires n amounts of checkboxes to be created. Problem is that some of these checkboxes has large amounts of texts, or at least a couple of lines.

Since checkboxes can't have more than 1 line (as far as i can see). I need to come up with a solution that works for all cases, meaning an undefined amount of text for each checkbox which it only knows in runtime. So instead I use a MLE which I draw on top of the checkbox text. This leaves the checkbox button to be seen but with the MLE - text next to it which allows multiple lines.

The only problem is that the MLE has different behaviours than a regular checkbox text. For example you cannot highlight a checkbox text but you can of course hightext text in an MLE. If I put enabled = false then you cannot highlight anymore but the entire MLE gets a greyed out "disabled" look both for text and background. My question is basically, is there anything I can do about the disabled look? I want it to look like it's enabled.