Jump to content


Photo

TNxComboBoxItem : Value <> ItemValue


  • Please log in to reply
1 reply to this topic

#1 Qwazerty

Qwazerty
  • Members
  • 73 posts
  • Gender:Male
  • Location:France

Posted 25 March 2016 - 12:00 PM

Hello Boki

 

There is an issue with Inspector's OnChange and OnAfterEdit.

When you select a value in combobox, TNxCombobox's specifics properties are not yet updated when events above are fired

 

Please try the demo project.

 

Nice day

Qwaz

Attached Files



#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

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

Posted 25 March 2016 - 04:34 PM

Hi,

I will change it. It seems that I didn't transferred properties in right moment.

In meanwhile you can access InplaceEditor:

Inside OnAfterEdit:

Label3.Caption := IntToStr( (NxCB1.Editor as TNxComboBox).ItemIndex );

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