Getting the Dialog Model

From Apache OpenOffice Wiki
< Documentation‎ | DevGuide
Revision as of 21:18, 20 December 2020 by DiGro (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



If a developer wants to modify any properties of a dialog or a control, it is necessary to have access to the dialog model. From a dialog, the model can be obtained by the getModel method of the com.sun.star.awt.XControl interface

  oDialogModel = oDialog.getModel()

or shorter

  oDialogModel = oDialog.Model
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages