Page 1 of 1

Dialog as a control

Posted: Mon Oct 02, 2023 1:14 pm
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.

Re: Dialog as a control

Posted: Tue Oct 03, 2023 5:49 am
by UnklDonald418
Similar question with a solution reported
https://ask.libreoffice.org/t/create-tr ... -base/9502

Re: Dialog as a control

Posted: Tue Oct 03, 2023 7:18 am
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?