隐藏在Libre Office基本宏设计器中的表单控件 - 但在testmode中显示

时间:2022-08-09 15:50:40

I have imported an original VBA form (the design) into Libre Office (Version 4.4.2.2) . However, some form controls are hidden in the designer mode, but are clearly there in the preview/test mode.

我已将原始VBA表单(设计)导入Libre Office(版本4.4.2.2)。但是,某些表单控件隐藏在设计器模式中,但显然存在于预览/测试模式中。

Does anyone know, how I can edit the "hidden" controls or make them visible again?
See the two attached screenshots: In the frame/groupbox Options and in the frame Stored tables, the inside controls are missing. From what I think, they are kind of hidden under the groupbox/frame. I haven't figured a way to bring them back to front.
To import the dialog in Libre Office paste the code into a new .xdl file and import the dialog file into a macro. Dialog *.xdl content

有谁知道,我如何编辑“隐藏”控件或让它们再次可见?请参阅两个附加的屏幕截图:在框架/组框选项和框架存储表中,缺少内部控件。从我的想法来看,它们隐藏在群组/框架之下。我没想办法让他们回到前面。要在Libre Office中导入对话框,请将代码粘贴到新的.xdl文件中,然后将对话框文件导入宏。 Dialog * .xdl内容

隐藏在Libre Office基本宏设计器中的表单控件 - 但在testmode中显示

隐藏在Libre Office基本宏设计器中的表单控件 - 但在testmode中显示

1 个解决方案

#1


In case anyone else struggles with this problem, I just figured it out, why it wasn't displayed, the control was marked as frame and not as titledbox. Just replace frame with titledbox.

如果其他人都在努力解决这个问题,我只是想出来,为什么没有显示,控件被标记为框架而不是标题框。只需用标题框替换框架即可。

<dlg:frame dlg:style-id="6" dlg:id="frmStorage" dlg:tab-index="6" dlg:left="277" dlg:top="4" dlg:width="149" dlg:height="252">  
...
</dlg:frame>

Afterwards reimport the dialog. Et voila, the hidden fields are also shown in the designer. 隐藏在Libre Office基本宏设计器中的表单控件 - 但在testmode中显示

然后重新导入对话框。 Et voila,隐藏的领域也在设计师中展示。

#1


In case anyone else struggles with this problem, I just figured it out, why it wasn't displayed, the control was marked as frame and not as titledbox. Just replace frame with titledbox.

如果其他人都在努力解决这个问题,我只是想出来,为什么没有显示,控件被标记为框架而不是标题框。只需用标题框替换框架即可。

<dlg:frame dlg:style-id="6" dlg:id="frmStorage" dlg:tab-index="6" dlg:left="277" dlg:top="4" dlg:width="149" dlg:height="252">  
...
</dlg:frame>

Afterwards reimport the dialog. Et voila, the hidden fields are also shown in the designer. 隐藏在Libre Office基本宏设计器中的表单控件 - 但在testmode中显示

然后重新导入对话框。 Et voila,隐藏的领域也在设计师中展示。