Posted 29 October 2011 - 08:35 PM
Foe example if my use choose a combobox item (so close the combobox menu) but don't exit from combobox (foe example don't press ENTER), my procedure is not call.
I don't understand which event I must use.
Posted 30 October 2011 - 09:23 PM
Posted 31 October 2011 - 06:39 PM
I have put a ComboBox on my TNextInspector. I have set: itoAutoApply in Option property and cbDropDownList in Style property.
I use only the OnAfterEdit event to call a procedure like this: myProcedure(myComboBox.ItemIndex, myComboBox.AsString) where myComboBox is the ComboBox of my TNextInspector.
The problem is this, after I have choose a ComboBox item the second parameter of my procedure is correct (the text is the text of last item select) but the first parameter is NOT correct. myComboBox.ItemIndex is not update, inside myComboBox.ItemIndex there is the old value (before last select).
I think this is a bug, right?
How can I solve it?
Posted 09 November 2011 - 01:50 AM
You will need to access to the TNxComboBox of Editor property of Item.
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.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