summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Extensions/DialogWithHelp/DialogWithHelp/Module1.xba
blob: 9e7745e228aa3cab76740ae75777c023f5f7a82f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Module1" script:language="StarBasic">REM  *****  BASIC  *****

Sub Main
	DialogLibraries.loadLibrary( &quot;DialogWithHelp&quot; )
	oDlg = CreateUnoDialog( DialogLibraries.DialogWithHelp.Dialog1 )
	oDlg.execute()
End Sub

Sub HandleDoIt
	msgbox &quot;I did it!&quot;
End Sub


</script:module>