Ask Your Question
0

is it possible to have a listbox with a hierarchical dropdown menu in a LibreOffice Base Form ?

asked 2017-04-19 07:11:58 +0200

librebel gravatar image

Dear LibreOffice users, is it possible to have a listbox with a hierarchical menu in a LibreOffice Base Form ?

Thanks in advance, lib

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2017-04-19 15:16:34 +0200

Ratslinger gravatar image

It appears you are asking for the functionality of a menubar item within a listbox control where selecting one item in the list allows a sub-selection to appear. There is no way to do that.

You can with coding (probably best using Python) create your own menubar item(s) in its own container on the form which would then give the result wanted.

If using the menubar itself, items can be added, changed or deleted through code in basic.

edit flag offensive delete link more

Comments

Thank you @Ratslinger! i'm looking at the XMenu and XPopupMenu right now, it seems that it also supports menuitem separators, checkboxes and menuitem tooltips, besides submenus .. this is really cool! i will try to create one of these in my Form, making this data-aware would be another thing ..

librebel gravatar imagelibrebel ( 2017-04-19 18:17:56 +0200 )edit

Creating your own menus using macros is not too difficult once you understand the process. Most don't understand there are at least five different levels of menu priorities in Base. If you need further help with this please open a new question and be specific on what you are trying to accomplish.

Ratslinger gravatar imageRatslinger ( 2017-04-19 18:34:06 +0200 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2017-04-19 07:11:58 +0200

Seen: 121 times

Last updated: Apr 19 '17