[Gambas-user] Accesing workspace's Tabs

Benoit Minisini gambas at ...1...
Sat Oct 11 19:04:05 CEST 2008


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 user open de form.
> I'tried things like wrksp.children[0].setfocus and so, but doesn't work.
> How is the correct sintaxis?
> Thanks
> Jorge

Workspace.ActiveWindow = The window you want to see.

-- 
Benoit Minisini




More information about the User mailing list