Re: [qooxdoo-devel] Setting Combobox Default ListItem

2006-12-11 Thread info
on - Original Message - From: Aaron Cooper To: qooxdoo Development Sent: Tuesday, December 12, 2006 6:50 PM Subject: Re: [qooxdoo-devel] Setting Combobox Default ListItem I am still having major trouble with this if anyone can please help.   Here is exa

Re: [qooxdoo-devel] Setting Combobox Default ListItem

2006-12-11 Thread Aaron Cooper
--- Original Message - From: Aaron Cooper To: qooxdoo Development Sent: Tuesday, December 12, 2006 6:50 PM Subject: Re: [qooxdoo-devel] Setting Combobox Default ListItem I am still having major trouble with this if anyone can please help. Here is exactly what I am doing: I have

Re: [qooxdoo-devel] Setting Combobox Default ListItem

2006-12-11 Thread Aaron Cooper
PM Subject: Re: [qooxdoo-devel] Setting Combobox Default ListItem Thanks mate, that does work, but I had to be able to set it using the initalVal parameter I passed to the function, with out using a loop. easily done with if-else with two items but some of them have many items, and are dyna

Re: [qooxdoo-devel] Setting Combobox Default ListItem

2006-11-21 Thread Sebastian Werner
Aaron Cooper schrieb: > Hi Guys, > > Spent a good 3 hours trying to do this simple task, and can't find the > way of doing it in the API or Demos. > > Take this simple Yes/No Combobox class that I have made: > > function ftmDataEntryYesNo (name, xPos, initialVal) { > var field = new qx.ui.f

Re: [qooxdoo-devel] Setting Combobox Default ListItem

2006-11-21 Thread Aaron Cooper
(field.getList().getChildren()[initialVal]); Cheers Aaron - Original Message - From: Jonathan Viney To: qooxdoo Development Sent: Wednesday, November 22, 2006 3:46 PM Subject: Re: [qooxdoo-devel] Setting Combobox Default ListItem field.setSelected(item_no); Just a guess

Re: [qooxdoo-devel] Setting Combobox Default ListItem

2006-11-21 Thread Jonathan Viney
field.setSelected(item_no); Just a guess -Jonathan. On 11/22/06, Aaron Cooper <[EMAIL PROTECTED]> wrote: Hi Guys, Spent a good 3 hours trying to do this simple task, and can't find the way of doing it in the API or Demos. Take this simple Yes/No Combobox class that I have made: functi

[qooxdoo-devel] Setting Combobox Default ListItem

2006-11-21 Thread Aaron Cooper
Hi Guys, Spent a good 3 hours trying to do this simple task, and can't find the way of doing it in the API or Demos. Take this simple Yes/No Combobox class that I have made: function ftmDataEntryYesNo (name, xPos, initialVal) { var field = new qx.ui.form.ComboBox(); field.setCssClassName("ftm