p { margin-bottom: 0.1in; line-height: 120%; }I am experimentingwith Dialogs.I prepared a
dialogcalled TestDialog, which is stored on the dialog organizer windowunder: My Dialogs >Standard
TestDialog. I did not select this position,it was automatically saved there.
The code to openthis dialog: If notDialogLibraries.IsLibraryLoaded("Standard") Then
DialogLibraries.LoadLibrary( "Standard" ) endif
dim oDlg as object dim oCtl as object dialogLibraries.loadLibrary("Standard") oDlg
=createUnoDialog(DialogLibraries.Standard.TestDialog) ' Error here oCtl
=oDlg.getControl("labelField") oCtl.TEXT = "Resetall update marks?"
I get the followingerror: BASIC runtime error.Property or methodnot found: TestDialog.
I wonder, what am Idoing wrong, or what have I neglected to do?
Any hint to solvethis riddle would be very much appreciated indeed.Egbert
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
- [libreoffice-users] base - getting error when loading a dialog · Egbert Eissing
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.