Missing combobox.newIndex |
Post Reply |
Author | |
cybeh
Groupie Joined: 27 December 2005 Location: Malaysia Status: Offline Points: 76 |
Post Options
Thanks(0)
Posted: 25 April 2007 at 10:14pm |
Hi,
I use to do this in my code
but, seems like i can't find the NewIndex in the codejock combobox. Thanks. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Please change it to
Dim Index as Long
Index = cboTest.AddItem ("ABC")
cboTest.ItemData(Index) = "1" |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
MNovaro
Groupie Joined: 20 June 2006 Status: Offline Points: 71 |
Post Options
Thanks(0)
|
I've got the same problem.
The solution suggested by Oleg is not working for me, since the AddItem is a Sub and not a Function: I get a "type mismatch" error when I try to use: Instead, I solved this with the following code: cmbFolder.AddItem "This" cmbFolder.ItemData(cmbFolder.ListCount - 1) = -1 Anyhow, adding .NewIndex ot the CodeJock combo would be better, since it would let this to be compatible with the standard combo. Thanks Marco |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Thanks,
Indeed :(
NewIndex property added.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |