CreateUnoDialog Function [Runtime]

From LibreOffice Help
Jump to: navigation, search

Creates a Basic Uno object that represents a Uno dialog control during Basic runtime.

Dialogs are defined in the dialog libraries. To display a dialog, a "live" dialog must be created from the library.

See Examples.


CreateUnoDialog( oDlgDesc )


' Get dialog description from the dialog library

oDlgDesc = DialogLibraries.Standard.Dialog1

' generate "live" dialog

oDlgControl = CreateUnoDialog( oDlgDesc )

' display "live" dialog