Greetings all,

I think I have found a minor bug with the TabStrip control where the
Tabs remain 'invisible'  when you toggle the visibility mode while it is
in the foreground of another control.
I could not find this bug listed anywhere - it may have already been
fixed in V3.

Gambas version used in testing 2.20.
Issues only occurs with gb.gtk - gb.qt seems to be fine.

[To Test set project properties to gb.gtk]

I created a standard form with a:
Gridview control
TabStrip control 
Label control in the body of Tab[0]  (to test visibility of controls in
TabStrip body).
Button

I set the arrangement of the TabStrip control to - 'Bring To Foreground'
in the GUI.

The area of the Tabs in the TabStrip control must be over the background
control.

--------------------------------------------------------------------------------------
[Code used to display bug.]

PUBLIC SUB Form_Open()
TabStrip1.Visible = FALSE
END

PUBLIC SUB Button1_Click()

  TabStrip1.Visible = TRUE

END
--------------------------------------------------------------

When you click on Button1 the body of the TabStrip becomes visible - the
label control in Tab[0] is visible.
The tabs ( any number ) remain invisible provided they are over the
background control.

Note # If you add the line Gridview1.visible = FALSE to the Button1
Click event , the tabs of the TabStrip control are then visible at run
time.

I found that every control I tested as the background control ( Panel,
Text box, Frame...) produced the same results as long as the Tabs were
over the background control.


Regards,
Ian Roper
Perth - Western Australia






------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to