Bart Friederichs wrote (15-10-2008 15:47)
Cor Nouws wrote:
Something as the next works:
  oSheet = ThisComponent.Sheets(0)
  oControl = ThisComponent.Sheets(0).DrawPage.Forms.
               getByIndex(0).getByName("TextBox")
  s = oControl.Text
Problem is that the 'Forms' attribute is empty: Count = 0 when I inspect
it in the BASIC IDE.

It does work here, also the form object isn't empty.
Wrong component, wrong sheet?

groet,
Cor

--
"The Year of 3" -2008- "Het jaar van 3"

Cor Nouws - Arnhem - Netherlands
  > marketing contact - http://nl.OpenOffice.org
  > Zeker van OpenOffice.org - www.nouenoff.nl


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to