Hallo Robert,
Am 27.05.2012 17:44, schrieb Jochen:
Am 27.05.2012 17:18, schrieb Robert Großkopf:
Die Tabelle ist nicht das Formular. Die Variable oben ist oForm.
oTable = oForm.getByName("Tablecontrolname")
Ich kann mit "Tablecontrolname" nichts anfangen.
ACHTUNG: diese Mail überschneidet sich mit Deiner nächsten Mail, in der 
Du eine andere Variablenbezeichnung wählst. Bei meinen weiteren Mails 
werde ich Deine Variablenbezeichnung übernehmen.
Ich glaube zu wissen, was Du meinst. Der Code ist nun so aufgebaut:
oForm2 = thisComponent.drawpage.forms.getByName("NameImFormular")
oTable = oForm2.getByName("NameImKontrollfeld")
oInhaltB1 = oTable.getByIndex(1)
msgbox oInhaltB1
Das Makro läuft so durch.
Problem macht die Zeile
oInhaltB1 = oTable.getByIndex(1)
Problem: oInhaltB1 ist ohne Inhalt.
Hast Du noch eine Idee?
Gruß
Jochen
--
Informationen zum Abmelden: E-Mail an users+help@de.libreoffice.org
Probleme? http://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
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.