Hi,
There seems to be some inconsistency in the way that you select items from an NxComboBoxColumn when AutoDropDown is set to true (style = dsDropDown)
If you click the button to drop down the list, you can select an item with a single click.
However if you type into the edit part, causing it to automatically drop down (AutoDropDown = true), it requires two clicks to select an item.
Looking at the code for NxPopupControl, this appears to be caused by the FFullOpened field. If the button is used, MouseDown triggers the Popup function, and MouseUp causes FFullOpened to be set to true.
However if you cause it to automatically drop down, the Popup function is still called (as a result of the KeyPress event), but there is no MouseUp event - meaning that FFullOpened does not get set to true. This means you then have to click the item once to kick off a MouseUp event which sets FFullOpened to true, and then a second time to actually select the item.
I'd guess this issue occurs for any scenario where it drops down without a mouse click (e.g. setting DroppedDown := true).
Cheers,
Biblin
Inconsistent NxComboBoxColumn Editing Behaviour
Started by Biblin, Feb 20 2012 03:21 PM
NxPopupControl NxPopupEdit NxComboBox
2 replies to this topic
#1
Posted 20 February 2012 - 03:21 PM
#2
Posted 20 February 2012 - 07:16 PM
Hi,
I will fix this bug. Actually I have already done it right in v6 of Next Suite and I will copy/paste it back to v5
I will fix this bug. Actually I have already done it right in v6 of Next Suite and I will copy/paste it back to v5
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.
--
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.
#3
Posted 20 February 2012 - 07:37 PM
Hero.
Thanks for the quick response.
Thanks for the quick response.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users