ButtonBar ?
Hi,
Two days of coding and I am really creating an iPhone App :)
Question, is it possible to "disable" or "hide" a button within a button bar?
For exmaple bb1 is a buttonbar…
bb1.index[0].visible=false;
Regards, Joakim
1 Answer
-
bb1.labels[0].enabled=false;
but take good care when you create the labels
from here: http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.ButtonBar-objectlabels : the array of labels for the button bar. each object should have the properties title, image, width and enabled.