Difference between revisions of "Documentation/DevGuide/WritingUNO/Accessing Dialogs"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (FINAL VERSION FOR L10N)
m
Line 10: Line 10:
  
 
From {{PRODUCTNAME}} {{OO2.0.4}} also component methods can be bound to control events. The following chapters describe both how the binding to component methods is done in Dialog Editor and how the component has to be designed to use this mechanism.
 
From {{PRODUCTNAME}} {{OO2.0.4}} also component methods can be bound to control events. The following chapters describe both how the binding to component methods is done in Dialog Editor and how the component has to be designed to use this mechanism.
 +
 +
See also :
 +
* [[Component_and_Dialog|Managing a Dialog in a Component]]
 +
* [[Going_further_with_Dialog_and_Component|Going further with Dialog and Components]]
  
 
{{PDL1}}
 
{{PDL1}}
  
 
[[Category:Documentation/Developer's Guide/Writing UNO Components]]
 
[[Category:Documentation/Developer's Guide/Writing UNO Components]]

Revision as of 17:31, 18 November 2009

  • Accessing Dialogs



This chapter describes how UNO Components can interact with dialogs that have been created with the Dialog Editor integrated in the OpenOffice.org Basic IDE. Before OpenOffice.org 2.0.4 dialogs designed with this Dialog Editor could only be reasonably used in the context of OpenOffice.org Basic respectively in the scope of the Scripting Framework (see Scripting Framework ). The reason for this restriction was the fact that only scripts managed by the Scripting Framework could be assigned as action to control events. It was already possible to instantiate dialogs using the com.sun.star.awt.XDialogProvider API, but there was no other way to get call backs from the events as to directly add listeners using the corresponding AWT control interfaces. This is a very inconvenient way to use dialogs created with the Dialog Editor.

From OpenOffice.org 2.0.4 also component methods can be bound to control events. The following chapters describe both how the binding to component methods is done in Dialog Editor and how the component has to be designed to use this mechanism.

See also :

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