[Gambas-user] Bug inTabStrip control

Werner wdahn at ...1000...
Mon Jul 13 14:33:10 CEST 2009


Werner wrote:
> kobolds wrote:
>   
>> sorry here the code
>>
>> http://www.nabble.com/file/p24460070/test.zip test.zip 
>>
>> Benoît Minisini wrote:
>>   
>>     
>>>> the whole project I doing now still in very messy status . but I confirm
>>>> the problem exist by create a new project to see if it happen or not .
>>>>
>>>> now that you said that , I also not sure whether the problem is because
>>>> of
>>>> kde 4.3 qt 4.5 .
>>>>
>>>> I guess this is why I unable to compile gambas3
>>>>
>>>> on the yast the gambas version I using showing 2.14.0-2.2
>>>>
>>>>       
>>>>         
>>> I need the actual code, because the code you wrote in your e-mail is not 
>>> coherent. Please read it again to see what I mean.
>>>
>>> Regards,
>>>
>>> -- 
>>> Benoît
>>>     
>>>       
> I run compiled version 2.14 on openSUSE 11.1/64 with KDE 3.5
> What I see is when I single step
> through the Button_Click routine
>
>  tabstrip1[0].visible = false 'Index becomes -1
>  tabstrip1[1].visible = true  'Index becomes 1
>  tabstrip1[2].visible = false
>
> but what is shown is still tab strip 0.
>
> Regards
> Werner
>   
...whereas if I change the code a little

 tabstrip1[1].visible = true  'Index remains as it was
 tabstrip1[0].visible = false 'Index becomes 1
 tabstrip1[2].visible = false

and the result is as it should be.

Regards
Werner







More information about the User mailing list