[Gambas-user] Load a Form into a Frame?
M0E Lnx
m0e.lnx at ...626...
Fri May 23 00:12:11 CEST 2008
Never mind, I spoke too soon... Looks like that will not work.
I am embedding external gambas apps, not forms that belong to the same project.
On 5/22/08, M0E Lnx <m0e.lnx at ...626...> wrote:
> I'm currently working an application that works similar to this
>
> try using an embedder and use the reparent method to redirect the form
> to the container
>
>
> FMyForm.Reparent(Parent as container)
> FmyForm.show()
>
> See if that helps any
>
>
> On 5/22/08, timothy <timothy.marshal-nichols at ...247...> wrote:
> >
> >
> >
> > > -----Original Message-----
> > > From: gambas-user-bounces at lists.sourceforge.net
> > > [mailto:gambas-user-bounces at lists.sourceforge.net] On Behalf
> > > Of Stefan Miefert
> > > Sent: Tuesday, 20 May 2008 11:25 AM
> > > To: gambas-user at lists.sourceforge.net
> > > Subject: [Gambas-user] Load a Form into a Frame?
> > >
> > >
> > > Hello,
> > >
> > > i try the gambas Tip 11 but it soent work . I want to load a
> > > Form "Fchild" into anothers Form "Frame" Element but it
> > > dosent work. Have someone an example for this ?
> > >
> >
> > I guess you are using Gambas 1 as you mention Tip 11.
> >
> > This does the job:
> >
> > DIM f AS Fchild
> > f = NEW Fchild(Frame1)
> >
> > However this takes over the entire control and you cannot see the border
> > of Frame1.
> >
> > I suggest you place a Panel inside the Frame and make it the size you
> > want and then do:
> >
> > DIM f AS Fchild
> > f = NEW Fchild(Panel1)
> >
> > Simply because it looks a bit better.
> >
> > Thanks
> >
> > 8-{)} Timothy Marshal-Nichols
> > <mailto: timothy.marshal-nichols at ...247...>
> >
> >
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
More information about the User
mailing list