LibreOffice Version: 5.4.1.2
Build ID: 1:5.4.1-0ubuntu1
CPU threads: 2; OS: Linux 4.13; UI render: default; VCL: gtk3;
Locale: nl-NL (en_US.UTF-8); Calc: group
When i try to change my form control into an ImageButton ( by right-clicking on the form control and selecting the menu “Replace with : Image Button”
), it changes into a Combobox instead of an ImageButton.
The type of form control doesn’t seem to matter ( tested with Button, Checkbox, Label ), it always changes into a Combobox instead of an ImageButton.
An ImageButton control can still be added via the toolbar “Form Controls : More Controls”
, but unfortunately this ImageButton is missing an “Execute Action” event (see screenshot).
Has anyone ever experienced either one of these issues with their ImageButton in Base?
Possible workarounds:
- Implement the ImageButton’s “Mouse button pressed”, “Mouse button released”, “Key pressed”, and “Key released” events as a surrogate for the missing “Execute Action” event.
- Use a normal Button control instead of an ImageButton control; Downside is that the button bevel is always visible.
- Use an image object and implement its “Click object” event; Downside is that the green image selection handles become visible when the image is clicked.
With Regards,
lib