Jump to content


Photo

ComboBoxColumn, input line


  • Please log in to reply
1 reply to this topic

#1 am2

am2
  • Members
  • 31 posts

Posted 28 July 2008 - 03:04 PM

Hello Boki,

How can I select an item inside the input line of a ComboBoxColumn if I know the index of that item? (I need something like combobox.itemindex := myindex)?

Best regards

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,289 posts
  • Gender:Male

Posted 28 July 2008 - 03:38 PM

Hello Am2,

You need to use something like:

CODE
TNxComboBox(NextGrid1.Columns[x].Editor).ItemIndex := 4;


I hope that it helps.

regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users