Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setting initial value of combobox

 
Anthony Leroy
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
g'day,
is there a way to set the initial value of a combobox in a form? Let's say a combo box has 3 options: optA, optB and optC, in that order. Ordinarily, optA will be the default selected option. How can I make optC be the displayed option without rearranging the order of the options.
thanks,
Ant
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
g'day also,
Are we talking select boxes?

Add the word 'SELECTED' next to the option

will select optC without changing the order.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic