Hello,
I'm using the NxCombobox with Style DropdownList.
If I focus the Combobox and scroll with my mouse wheel I can scroll down x times, but there are only 4 items.
Example:
Scroll down to the last item.
Now scroll 6 times more down.
And now scroll 6 times up!
Every time the last item is going to be selected.
But I save the ItemIndex in an ini-file and I get then the error: ItemIndex as bigger as count of items.
Can you fix this bug, please?
greetz from Germany
Timelesk
[Bug] NxCombobox - Itemindex
Started by Lukas, Nov 29 2006 08:54 PM
6 replies to this topic
#1
Posted 29 November 2006 - 08:54 PM
#2
Posted 30 November 2006 - 02:21 AM
Hello Lukas,
Maybe you don't have latest version installed. Please check attached demo app. First run compiled app and then compile it inside your Delphi.
regards
Maybe you don't have latest version installed. Please check attached demo app. First run compiled app and then compile it inside your Delphi.
regards
Attached Files
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 30 November 2006 - 10:27 AM
Hi Boki,
yes, that's right! I've used an old version of Combobox!
The new version works fine, but I think not correctly of all.
If I click on the Combobox, the list opens.
Now I want to scroll, but the selected item doesn't change.
If I go with my mouse over the list I can scroll
thx
Timelesk
yes, that's right! I've used an old version of Combobox!
The new version works fine, but I think not correctly of all.
If I click on the Combobox, the list opens.
Now I want to scroll, but the selected item doesn't change.
If I go with my mouse over the list I can scroll
thx
Timelesk
#4
Posted 01 December 2006 - 08:43 PM
Hi Boki,
an hour ago I updated to nextGrids v3.9.5. The NxComboBox seems to have a bug with the indexes. Initally if the combo is empty, it tells me that the current index is 0, not -1. If I set the itemIndex to e.g. 5 it selects the 6th item. The combo's behaviour is like indexes from 1 to Count instead of 0 to Count-1.
BR
DW
an hour ago I updated to nextGrids v3.9.5. The NxComboBox seems to have a bug with the indexes. Initally if the combo is empty, it tells me that the current index is 0, not -1. If I set the itemIndex to e.g. 5 it selects the 6th item. The combo's behaviour is like indexes from 1 to Count instead of 0 to Count-1.
BR
DW
#5
Posted 02 December 2006 - 03:04 AM
Hello Downwards,
I have put it right now on form and read ItemIndex property and it is -1. Also, when you set ItemIndex to 5, it will select 6th item in list.
regards
I have put it right now on form and read ItemIndex property and it is -1. Also, when you set ItemIndex to 5, it will select 6th item in list.
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.
--
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.
#6
Posted 05 December 2006 - 04:09 PM
Hi,
after debugging and debugging and debugging, I decided to delete the NxComboBox and add a new one. Now it works again. Don't know what happened here...
Thanx anyway
DW
after debugging and debugging and debugging, I decided to delete the NxComboBox and add a new one. Now it works again. Don't know what happened here...
Thanx anyway
DW
#7
Posted 05 December 2006 - 11:22 PM
Hello Downwards, maybe DFM file have been corrupted somehow.
I think that now all will be fine.
regards
I think that now all will be fine.
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.
--
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