Quantcast

How to create a custom control on a form?

classic Classic list List threaded Threaded
6 messages Options
Ferry Toth Ferry Toth
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

How to create a custom control on a form?

Is there an easy way?

We would like to put an 'agenda' (like daily/weekly/monthly tasks)
control on a Base form.

Any suggestions?

Ferry

--
For unsubscribe instructions e-mail to: [hidden email]
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
Dan Lewis Dan Lewis
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to create a custom control on a form?

On Thu, 2012-03-01 at 23:38 +0100, Ferry Toth wrote:
> Is there an easy way?
>
> We would like to put an 'agenda' (like daily/weekly/monthly tasks)
> control on a Base form.
>
> Any suggestions?
>
> Ferry
>

 What about using an option button: It can have one of three choices.

--Dan


--
For unsubscribe instructions e-mail to: [hidden email]
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
Alexander Thurgood Alexander Thurgood
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to create a custom control on a form?

In reply to this post by Ferry Toth
Le 01/03/2012 23:38, Ferry Toth a écrit :

Hi Ferry,

> Is there an easy way?

Trick question : you know there isn't ;-)

>
> We would like to put an 'agenda' (like daily/weekly/monthly tasks)
> control on a Base form.
>
> Any suggestions?

Errrm, the only thing I can think of offhand is a programmatically
created multipage/tab dialog box. Do you have Roberto Benitez' book on
Base programming ? I seem to recall it covers things like this.


Alex



--
For unsubscribe instructions e-mail to: [hidden email]
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
Fernand Vanrie Fernand Vanrie
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to create a custom control on a form?

In reply to this post by Ferry Toth
Ferry ,

I think there is no easy way,
Doing things you want: use Dialogs instead of Forms, a bit more coding
is needed , but you can bield easely a "agenda" using the date from your
tables listed in a  handmade gridcontrol.
hope it helps
Fernand

> Is there an easy way?
>
> We would like to put an 'agenda' (like daily/weekly/monthly tasks)
> control on a Base form.
>
> Any suggestions?
>
> Ferry
>


--
For unsubscribe instructions e-mail to: [hidden email]
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
Andreas Säger Andreas Säger
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to create a custom control on a form?

In reply to this post by Ferry Toth
Am 01.03.2012 23:38, Ferry Toth wrote:
> Is there an easy way?
>
> We would like to put an 'agenda' (like daily/weekly/monthly tasks)
> control on a Base form.
>
> Any suggestions?
>
> Ferry
>

You can use an ordinary one-to-many relation where each task has one
period type (list box with period name and id) together with a subform
which displays the last execution of the main form's task. "Execution"
is another one-to-many relation where each action belongs to one task.



--
For unsubscribe instructions e-mail to: [hidden email]
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
Ferry Toth Ferry Toth
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: How to create a custom control on a form?

In reply to this post by Alexander Thurgood
Alex,

The question really is: if LO is based on  an 'object broker' as UNO, is
there an easy way to add an object *without recompiling and building LO
entirely*.

Like with ActiveX controls: once you've created one and 'registered' it
you can put them on any ActiveX container and if you have a scripting
language available can actually make the control do some useful work.

Let's say I steel the code of Evolutions calendar window, can I build a
standalone control from that, register it with UNO, place it on a form
and fill it with data from Base?

Ferry

Alex Thurgood schreef op vr 02-03-2012 om 08:40 [+0100]:

> Le 01/03/2012 23:38, Ferry Toth a écrit :
>
> Hi Ferry,
>
> > Is there an easy way?
>
> Trick question : you know there isn't ;-)
>
> >
> > We would like to put an 'agenda' (like daily/weekly/monthly tasks)
> > control on a Base form.
> >
> > Any suggestions?
>
> Errrm, the only thing I can think of offhand is a programmatically
> created multipage/tab dialog box. Do you have Roberto Benitez' book on
> Base programming ? I seem to recall it covers things like this.
>
>
> Alex
>
>
>

--
For unsubscribe instructions e-mail to: [hidden email]
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
Loading...