Base Form design: issues with ImageButton control.

asked 2017-12-02 22:30:40 +0200

librebel gravatar image

updated 2017-12-02 22:32:58 +0200

LibreOffice Version: 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). image description

Has anyone ever experienced either one of these issues with their ImageButton in Base?

Possible workarounds:

  1. 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.
  2. Use a normal Button control instead of an ImageButton control; Downside is that the button bevel is always visible.
  3. 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

edit retag flag offensive close merge delete


Hello @librebel,

I see same thing in LO v5.4.3.2 from LibreOffice. Haven't used image button in some time (maybe since v4.x) and it is different. No telling where this problem started.

Ratslinger gravatar imageRatslinger ( 2017-12-02 23:00:38 +0200 )edit

Thanks for your confirmation @Ratslinger, 'll report this problem to Bugzillah if it is not yet reported.

librebel gravatar imagelibrebel ( 2017-12-03 00:39:56 +0200 )edit