diff options
author | Behrend Cornelius <bc@openoffice.org> | 2001-09-13 13:31:31 +0000 |
---|---|---|
committer | Behrend Cornelius <bc@openoffice.org> | 2001-09-13 13:31:31 +0000 |
commit | fa1592224bbfb73d9e3b29c10216fe973e43f469 (patch) | |
tree | 4d3d3809cb19536cbc506807c7be03112116df28 /wizards/source | |
parent | 956df411b96d914ee4a5c9c9c45282c4b8b20f3e (diff) |
#91427# Defaultbutton now on 'GoOn'Button
Diffstat (limited to 'wizards/source')
-rw-r--r-- | wizards/source/webwizard/HtmlAutoPilotBasic.xba | 2 | ||||
-rw-r--r-- | wizards/source/webwizard/WebWzrd.xdl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/wizards/source/webwizard/HtmlAutoPilotBasic.xba b/wizards/source/webwizard/HtmlAutoPilotBasic.xba index 15a6e89c45b8..dd2b713624d9 100644 --- a/wizards/source/webwizard/HtmlAutoPilotBasic.xba +++ b/wizards/source/webwizard/HtmlAutoPilotBasic.xba @@ -50,7 +50,6 @@ Sub Main oUcb = createUnoService("com.sun.star.ucb.SimpleFileAccess") oBaseDocument = StarDesktop.LoadComponentFromURL("private:factory/swriter/web", "_blank", 0, NoArgs()) oViewSettings = oBaseDocument.CurrentController.ViewSettings - oViewCursor = oBaseDocument.GetCurrentController.ViewCursor ProgressBar = oBaseDocument.GetCurrentController.GetFrame.CreateStatusIndicator ProgressBar.Start("", 100) @@ -80,6 +79,7 @@ Sub Main sBitmapPath = SOBitmapPath & "webwizard.bmp" DialogModel.ImagePreview.ImageURL = sBitmapPath ToggleOptionButtons(DialogModel, bWithBackGraphic) + DialogModel.cbGoOn.DefaultButton = True MainDialog.Execute GLOBALERRORHANDLER: diff --git a/wizards/source/webwizard/WebWzrd.xdl b/wizards/source/webwizard/WebWzrd.xdl index 1b6c39a7ecd2..da3c59234da7 100644 --- a/wizards/source/webwizard/WebWzrd.xdl +++ b/wizards/source/webwizard/WebWzrd.xdl @@ -8,7 +8,7 @@ <dlg:button dlg:id="cbHelp" dlg:tab-index="1" dlg:left="66" dlg:top="190" dlg:width="50" dlg:height="14" dlg:tag="34200" dlg:help-url="HID:34200" dlg:value="cbHelp"> <script:event script:event-name="on-performaction" script:location="application" script:macro-name="Tools.Recursive.ShowHelperDialog" script:language="StarBasic"/> </dlg:button> - <dlg:button dlg:id="cbGoOn" dlg:tab-index="2" dlg:left="214" dlg:top="190" dlg:width="50" dlg:height="14" dlg:help-url="HID:34205" dlg:value="cbGoOn"> + <dlg:button dlg:id="cbGoOn" dlg:tab-index="2" dlg:left="214" dlg:top="190" dlg:width="50" dlg:height="14" dlg:help-url="HID:34205" dlg:default="true" dlg:value="cbGoOn"> <script:event script:event-name="on-performaction" script:location="application" script:macro-name="WebWizard.HtmlAutoPilotBasic.EndDialog" script:language="StarBasic"/> </dlg:button> <dlg:img dlg:id="ImagePreview" dlg:tab-index="3" dlg:left="6" dlg:top="6" dlg:width="258" dlg:height="26"/> |