diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-10-22 13:11:30 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-10-22 13:11:30 +0000 |
commit | 520be5c0f00e124ea05e4c3f2334d8c93fda6e80 (patch) | |
tree | 3f4b8659fd4f98909676509afbcb954c068c1de1 /scripting/workben/bindings/Highlight.xdl | |
parent | 2b962a56c1eaa6650b7e08f9fbe8d46b0165d4dc (diff) |
INTEGRATION: CWS scriptingf6 (1.2.30); FILE MERGED
2004/09/14 15:27:52 dfoster 1.2.30.1: #i30252#
Fix the Highlight examples so that (a) they try to load the library if
they can't get the dialog on first attempt, (b) the dialog contains bindings
to the BeanShell handler code.
Diffstat (limited to 'scripting/workben/bindings/Highlight.xdl')
-rw-r--r-- | scripting/workben/bindings/Highlight.xdl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripting/workben/bindings/Highlight.xdl b/scripting/workben/bindings/Highlight.xdl index 59597086d077..2d65de42283e 100644 --- a/scripting/workben/bindings/Highlight.xdl +++ b/scripting/workben/bindings/Highlight.xdl @@ -4,7 +4,11 @@ <dlg:bulletinboard> <dlg:text dlg:id="Label1" dlg:tab-index="2" dlg:left="3" dlg:top="8" dlg:width="33" dlg:height="9" dlg:value="Find What:"/> <dlg:textfield dlg:id="HighlightTextField" dlg:tab-index="3" dlg:left="39" dlg:top="6" dlg:width="93" dlg:height="12"/> - <dlg:button dlg:id="HighlightButton" dlg:tab-index="0" dlg:left="20" dlg:top="24" dlg:width="46" dlg:height="18" dlg:value="Highlight"/> - <dlg:button dlg:id="ExitButton" dlg:tab-index="1" dlg:left="72" dlg:top="24" dlg:width="46" dlg:height="18" dlg:value="Exit"/> + <dlg:button dlg:id="HighlightButton" dlg:tab-index="0" dlg:left="20" dlg:top="24" dlg:width="46" dlg:height="18" dlg:value="Highlight"> + <script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Highlight.ButtonPressHandler.bsh?language=BeanShell&location=share" script:language="Script"/> + </dlg:button> + <dlg:button dlg:id="ExitButton" dlg:tab-index="1" dlg:left="72" dlg:top="24" dlg:width="46" dlg:height="18" dlg:value="Exit"> + <script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:Highlight.ButtonPressHandler.bsh?language=BeanShell&location=share" script:language="Script"/> + </dlg:button> </dlg:bulletinboard> </dlg:window> |