On mercredi 24 septembre 2008, Wellington de Souza Pinto wrote:
> Hi Benoit!
>
> I'm using gambas3 from svn.
>
> I create form with one checkbox, and this checkbox controled the tabstrib
> index.
>
> My TabStrib (tbsDados.count = 2).
> My CheckBox (chbJuridica.Value = FALSE)
> In index 0 put any controls, and in index 1 put anothers controls.
>
> When i click in Checkbox the TabStrip not show another intens in [1] only
> show the [0].
>
> Is easy make this test. Below my Subs.
>
> Public Sub Form_Open()
>
>     tbsDados[0].Visible = Not (chbJuridica.Value)
>     tbsDados[1].Visible = (chbJuridica.Value)
>
> End
>
> Public Sub chbJuridica_Click()
>
>     tbsDados[0].Visible = Not (chbJuridica.Value)
>     tbsDados[1].Visible = (chbJuridica.Value)
>
> End
>
>
> Reguards,
>

I think at least one tab must be visible. Check that you don't hide all tabs 
at one moment.

Regards,

-- 
Benoit Minisini

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to