PDA

View Full Version : pbReadOnly on cWebColumnCheckbox



Sture
18-Feb-2015, 07:42 AM
pbReadOnly can be used to prevent editing of a cWebColumn object.

But not on a cWebColumnCheckbox because that has no pbReadOnly property.

Suggestion: Add it.

-Sture

Roel Westhoff [W4]
18-Feb-2015, 04:15 PM
pbEnabled???

Focus
20-Feb-2015, 10:52 AM
Suggestion: Add it.

:D

Sture
20-Feb-2015, 11:04 AM
Hi Roel,

It's true that pbEnabled can be used. But pbReadOnly does not shade the content of the control. Anyway, every other xxColumn and xxForm supports it.

-Sture

Harm Wibier
6-May-2015, 10:05 AM
Anyway, every other xxColumn and xxForm supports it.

That is actually not true as pbReadOnly is a property of cWebBaseForm meaning that only cWebForm and cWebColumn inherit it. No other control within the Web Framework has a pbReadOnly (including checkbox, combo and radio).

It feels that if we want it for the checkbox(column) we should also support it on the radio(column) and the combo(column). I've added this too the wish list.