Community Questions & Answers

Flip graphics and text with button bar

I am trying to flip graphics and text between two buttons but one, the text keeps appearing on top of each other instead of disappearing and replacing and; two, how do I set the text to automatically appear in button one? I am coding for iOS and using the...

buttonbar event fire

Hi, I have a buttonbar with 3 buttons and three corresponding views. Is it possible to fire an event on the button bar without the user pressing a button? In other words, I want to move from one view to another automatically, simulating a user clicking on...

Native iOS buttons look and feel.

On my Window I have LeftNavButton set to one SystemButton and RightNavButton set to ButtonBar with several Labels elements. I would like to see buttons displayed in ButtonBar to have same dark grey background as SystemButton on the left. I tried to setup...

How to positon a buttonbar below the navbar?

var win = Titanium.UI.currentWindow; win.backgroundColor = 'black'; var bb1 = Titanium.UI.createButtonBar({ labels:['Btn1', 'Btn2', 'Btn3', 'Btn4'], style:Titanium.UI.iPhone.SystemButtonStyle.BAR }); var flexSpace =...

Getting a button bar to 'latch' on the pressed button

I have several button bars (created dynamically), each with their own event listeners (also created dynamically). I want the button pressed to remain selected, but can't achieve this. I'm trying to do this by getting the index of the selected button, then...

Buttonbar open page in app.js

Hi Folks, So I have a button bar in my nav bar. I'm trying to get it to open a page when I click on it, but I cant get it to work and cant figure it out for the life of me! I'm getting the error : message = "'undefined' is not an object (evaluating...

TableView filter

Hi, I have a tableview full of data, with a search filter at the top. I'd like to be able to filter the data by a button bar at the bottom. Each button has a different value for a parameter that all rows have. Is there a way to do this? If you need more...

Radio style selection

I am trying to do something that initially seemed simple but has me stomped. I am trying to have a button group that: - May have one of three buttons pressed initially - Can only have one button selected at a time - All buttons can be deselected by...

ButtonBar bug.

Hi, I do believe i've discovered a bug in buttonBar. Lets say you create a button bar, and then add this to a window. If the button bar has 3 labels, each label is identified as 0, 1 , 2 etc I guess you could use a switch command to manage them. If...

428 views
asked 1 year ago by E B
last activity 1 year ago

Customising webView Controls

I looked at the code examples from Kitchen Sink and successfully implemented the back, reload and forward buttons for a webView. I like the buttons but I don't like the background bar it sits on, is there anyway to remove/make this transparent? Here's...

ButtonBar separator removing

I made buttonbar with 2 labels and image at those labels, but at simulator it shows 1px separator between those labels. Is there any possibility to remove it? Here's my code: ~~~ var arrowsLabel = [ { width: 41, height: 30, image:...

How to change buttonbar image by click

hi, i am trying to change the image of buttonbar after it was clicked my code: var navBarButtonsObjects = [ {image:'images/button-Map1.png',height:32,width:55}, {image:'images/button-Reg-activ.png',height:32,width:55} ]; var navBarButtons =...

Kitchensink 'buttonbar' issue

I extracted the buttonbar.js into my project and created an app.js like this, var win = Ti.UI.createWindow({ url:'buttonbar.js' }) win.open(); Everything but the bottom toolbar and top 'Button Bar' shows. Is there something needing initialized...

Change button color on iOS?

You can easily change the button-colors (iPad) of ButtonBars by applying `style:Titanium.UI.iPhone.SystemButtonStyle.BAR` to it. However when you do that for Buttons it adds an arrow-icon to the button and it doesn't look like it should. So how do I...

fontSize in iPad not work

In some objects such as TabbedBar and ButtonBar the properties of Font in iPad do not work. And the iPhone style (ex: Titanium.UI.iPhone.SystemButtonStyle.BAR) either. var bbtime = Titanium.UI.createTabbedBar({ labels:['Hola', 'Mundo'], font:{fontSize:8} });

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

ButtonBar won't show

Hello, I'm trying to set a ButtonBar on my NavBar, however it doesn't show no matter what I do. My code is: // create tab group var tabGroup = Titanium.UI.createTabGroup({ barColor:'#336699' }); var win1 = Titanium.UI.createWindow({ ...

How to show selected buttonBar

Hi I am wanting to show the selected button in a buttonBar after the user clicks on one of the button options. So when they select a button it becomes disabled, and when they select another button it becomes disabled and the other button...

Showing 1-50 of 57 1 2