Hi,
I'm was confused with your first post
hi, i have a question, use a tabstrip with multiple tabs, but depending on certain validations i want to start with a certain tab, what would the sentence to use?
use this but not work:
chventanas:TabStrip:Tabs:ITEM(2):SELECTED = TRUE
So at first I though that you were having problems with the statement as such and that's why I ask you about the initialization of the control, but now it appears that what you are trying to achieve is to prevent the user for getting confuse if they see the first tab before the needed one.
I'm rigth?,
it so try this.
1) Hide the control until necessary
chventanas:TabStrip:VISIBLE = NO.
2) And when needed show the control.
For instance force the user to press a button so he/she can retrieve the TabStrip
Example.
ON choose OF Button-Show-TabStrip DO:
ASSIGN Which-Tab. <== FILL-IN TO CAPTURE THE DESIRE TAB NUMBER
chventanas:TabStrip:Tabs:ITEM(Which-Tab):SELECTED = TRUE NO-ERROR.
IF NOT ERROR-STATUS:ERROR THEN
chventanas:TabStrip:VISIBLE = YES.
END.
Hope This Helps!!!