[Gambas-user] Reparenting a form on a tabstrip....
Daniel Campos
dcamposf at ...626...
Fri Feb 9 23:00:17 CET 2007
Not a bad idea, I think nobody thought in it before...
2007/2/9, sbungay <sbungay at ...981...>:
> Goal: To reparent an instance of a form on the tabstrip index of my
> choice. The code snippet is below.
>
> ' Gambas class file
> PRIVATE mForm1 AS Form
>
> Private SUB Form2_Open()
> mForm1 = NEW Form1
>
> With mForm1
> .Reparent(TabStrip1[1]) ' This will give
> ' Invalid Use of Virtual Class
> .Reparent(TabStrip1) ' This works fine but the form
> ' Only appears on the first tab.
> End With
> END
>
>
> This is kind of (but not exactly) like what I would do if I created
> an activex control (now I have to wash my hands) and hosted it on a form
> in the container of my choosing.
>
> Steve.
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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