[Gambas-user] TabStrib Bug (?!?!?!?)
    Benoit Minisini 
    gambas at ...1...
       
    Wed Sep 24 17:21:32 CEST 2008
    
    
  
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
    
    
More information about the User
mailing list