Re: [Gambas-user] Accesing workspace's tabs

2008-10-14 Thread Ron
Jorge Carrio'n wrote: Ron_2nd wrote: use this routine in my app, if a workspace is not already created it will be, if it is, it activates it ' load a page onto the workspace, or give already loaded page focus. PUBLIC SUB OpenPage(hForm AS Form) wrkMain.Add(hForm) wrkMain.ActiveWindow =

Re: [Gambas-user] Accesing workspace's Tabs

2008-10-12 Thread Ron
Benoit Minisini wrote: On samedi 11 octobre 2008, Jorge Carrión wrote: How can I access to workspace' tabs? I've a form with a workspace that I fill with wrkspc.add(window) function. But the active tab is the last I've added and I want the first tab I've add as the active tab when the

[Gambas-user] Accesing workspace's Tabs

2008-10-11 Thread Jorge Carrión
How can I access to workspace' tabs? I've a form with a workspace that I fill with wrkspc.add(window) function. But the active tab is the last I've added and I want the first tab I've add as the active tab when the user open de form. I'tried things like wrksp.children[0].setfocus and so, but