Custom Controls?

Creating and using forms
Post Reply
Seyren
Posts: 1
Joined: Fri Jan 25, 2008 2:36 pm

Custom Controls?

Post by Seyren »

Hi,

in the past few days I explored the OOo Base Application and searched tutorials, forums... but this question is still open.

Is it somehow possible to insert a custom control in a Base Form?

At least at my System (WinXP SP2, German, latest OOo Release, Java 1.6 RE/DK) the
Menu > Insert > Object >
- OLE-Object
- Plugin
- Sound
- Video
- Applet
are gray and only
- Formula
- Diagram
are available.

Currently I use MS Access and I have created a little OCX-Control with Visual Basic (and I would need more custom controls in the future).
I could recreate this control as Java Applet - or maybe with C++
But is it possible to insert such a custom control?
User avatar
DrewJensen
Volunteer
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA

Re: Custom Controls?

Post by DrewJensen »

Well - no and yes.

I have never been able to get a inserted activeX control to work with a form embedded in an ODB file - I really just think it is not supported.

However - if you create a Writer file ( which is the base type for an embedded data entry form ) stand alone, outside of the odb, and use data aware controls to design your form - just like you would in embedded mode - then you can do it.

The only thing you need do then is explicitly link the dataform control ( a wrapper for the resultset that feeds the data aware UI controls ) to a registered database file.
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
Post Reply