It appears to me (in Gambas 2) that some properties of TabStrip .Tab items,
such as Caption, are only settable via code if the item is visible.
PUBLIC SUB Form_Open()
DIM ix AS Integer
TabStrip1.Count = 9
FOR ix = 1 TO 9
TabStrip1[ix - 1].Text = ix
IF ix > 6 THEN TabStrip1[ix - 1].Visible = FALSE
NEXT
TabStrip1.Index = 2
TabStrip1.Index = 8
TabStrip1.Current.Text = "I am OK"
TabStrip1[7].Caption = "I am not properly labelled!"
FOR ix = 1 TO 9
TabStrip1[ix - 1].Visible=TRUE
NEXT
END
Is this expected behaviour?
--
best regards
Bruce Bruen
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user