Dialog as a control

Creating and using forms
Post Reply
Hypno
Posts: 21
Joined: Tue Jun 14, 2022 12:47 pm

Dialog as a control

Post by Hypno »

Can the dialog be placed on the form like other controls, e.g. ListBox or TextBox?
A question with a subtext about how to place a treeview on a form. Since I can define a dialogue with TreeView and ScrollBar, ProgressBar controls, I would like to then place it on the form like any other control. Unfortunately I can't find anything on this subject.
LibreOffice 7.2.2.1 (x64), Windows 10
UnklDonald418
Volunteer
Posts: 1549
Joined: Wed Jun 24, 2015 12:56 am
Location: Colorado, USA

Re: Dialog as a control

Post by UnklDonald418 »

Similar question with a solution reported
https://ask.libreoffice.org/t/create-tr ... -base/9502
If your problem has been solved, please edit this topic's initial post and add "[Solved]" to the beginning of the subject line
Apache OpenOffice 4.1.14 & LibreOffice 7.6.2.1 (x86_64) - Windows 10 Professional- Windows 11
Hypno
Posts: 21
Joined: Tue Jun 14, 2022 12:47 pm

Re: Dialog as a control

Post by Hypno »

The goal in the link is the same, but that's not what I'm asking about.
I have created a dialog box with treeview support, but it is a pop-up window called from the code, which is as intended. I would like to embed this window permanently in the form and treat it like any other control.

And the question is how to embed a dialog box (in this case with a ready-made treeview, but generally any dialog box) in the form?
LibreOffice 7.2.2.1 (x64), Windows 10
Post Reply