# Checkbox: possible bug in a form

If I create a form in base, using the wizard, from a table containing boolean fields then each of these fields is represented by a checkbox that I can ungroup and change the position of the label and then regroup again afterwards. However if, in edit mode, I add a checkbox then this cannot be ungrouped. When the 'group' option is selected then the message 'No selection possible' is displayed'. Have I stumbled across a minor bug, or am I missing something? I tested all this in a new database with just an ID and a boolean in the table with the results as described. I also correctly selected the checkboxes in the form. The checkbox generated by the form creation wizard can be ungrouped, but the checkbox added in edit mode cannot be ungrouped.

edit retag close merge delete

Sort by » oldest newest most voted

I will surmise that the problem with the new check box is that is has a label that you cannot detach.

It's not exactly a bug, its just one of the more unintuitive features of LO Base form. The new check box was created with a label that, unlike other labels is not a separate control, and thus cannot be un-grouped. (If when you create the new check box you cannot see this, simply enlarge the checkbox "box" using the little green/blue boxes and you will see that when you created the check box in Edit mode, it automatically was created with a special kind of Label next to it.)

This label is populated by the entry in Control --> General --> Label. If you delete the entry in the property line, the CHECKBOX control will then not have the pseudo-label. Separately create a LABEL control and then hitch the two together using the Label Field property in the control box. In this manner, you can make the CHECKBOX label function the way you desire.

more

@doug does this odd behaviour only apply to the check box control?

( 2015-09-09 15:02:01 +0200 )edit

@peterwt: some objects have that Label property, some don't. It makes more sense for control buttons and group boxes, less or check boxes and radio buttons. To explore, you can select an object, open the Control dialog, right mouse click to Replace With and cycle through the various choices.

( 2015-09-10 02:45:32 +0200 )edit

It all worked well; a, rather belated, thank you for the info.

( 2015-09-13 07:39:42 +0200 )edit

The message suggests you have not selected an object on the Form. When you add the new checkbox click on it to select it. You will then get green squares around the Label and Checkbox. You can then Ungroup.

more