Jim Gardner wrote:
Hi:
First posting. Reasonable experience in VBA and Microsoft Office, now
migrating to OOo to avoid those continual upgrade problems with
different versions of Access. Bit of a steep learning curve with
plenty of Googling. Successful reprogramming of an Excel application
to Calc. Currently want to migrate from Access to OOoBase.
The problem: I have a form "test" generated by the Wizard, showing the
database fields. I want a mouse leaving event to make other controls
visible/non visible, but to do that I need the control and form
objects. Andrew Pityonak's book was very helpful for Calc but doesn't
cover Base and I can't find code examples for this on the web. I've
tried the code examples in AndrewBase.odt for getting controls and
forms by name using the form name "test" and the names of the
controls on the form layout (after ungrouping the label and control)
but the return is always empty. I'm probably missing something in the
application object name. Any help appreciated.
Cheers,
Jim Gardner
Try this:
http://www.pitonyak.org/database/
or, more specifically,
http://www.pitonyak.org/database/AndrewBase.odt
It is not really the best document for forms, but it at least discusses
a few things about them (such as how to obtain controls and such).
http://www.oooforum.org/forum/viewforum.phtml?f=10
Look at the sticky posts near the top!
We are in the "talking" stage with respect to Base documentation at the
authors web site. That said, I believe that there is a chapter on "Using
Forms in Writer" that may be at least somewhat applicable, but I have
not read it.
http://documentation.openoffice.org/manuals/oooauthors2/index.html
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info: http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]