Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hallo Jochen
oDlg.execute()
oDlg.EndExecute(True)

so kann das leider nicht gehen.
du mußt den Dialog per Hand im der Bibliothek Standard dort erstellen.
Der Dialog hat den Name "Dialog1", und enthäld ein Textfeld mit dem Name "Label1".

Nun kannst du mit einem Trick arbeiten:
Du verknüpfst das Ereignis "Bei Fokuserhald " des Dialogs mit dem Makro "Timmer", und startest das makro "Dlg1"
'***BASIC***

Global oDlg1 as object

Sub Dlg1

 DialogLibraries.LoadLibrary("Standard")
 oDlg1=CreateUnoDialog(DialogLibraries.Standard.Dialog1)
 oDlg1.getControl("Label1").setText ("Timer läuft")
 on error resume next
 oDlg1.setFocus
 oDlg1.Execute(True)

End sub

Sub Timer
TimeWait=0.1
For i = 0 To 5
TimeS=Timer
Do
oDlg1.getControl("Label1").setText ("Timer läuft & i")
Loop Until Timer>=TimeS+TimeWait
oDlg7.EndExecute(True)
Next i

end sub


'Gruß Frieder



--
Informationen zum Abmelden: E-Mail an users+help@de.libreoffice.org
Probleme? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Tipps zu Listenmails: http://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: http://listarchives.libreoffice.org/de/users/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.