Would someone please tell me what DLL/Library I need to reference so that my ComboBox has Properties/Methods of ".ItemData" and ".NewItem"?
The full properties and methods for the combobox control are available with the default minimum references (those you can't remove)
I'm sorry I'm not familiar with the .NewItem property or method.
To add new items, I use the .Additem method.
The .NewIndex property shows the index of the most recently added item
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'People who live in windowed environments shouldn't cast pointers.'
Is this Visual Basic? The intrinsic VB ComboBox has ItemData and NewIndex (not NewItem) properties. You need a project reference to Visual Basic objects and procedures but this is already selected by default and can't be deselected.
Well from what i am figuring, you are using Form object from microsoft form object 2.0 and the combobox from that collection don't seem to have these methods.You will have to use basic combobox.You should have those in an other thumbnail of you object bar.
Thank you all for your help. I was using VBA to build my mini-application I have since switched to VB6 and as you all said those Properties/Methods are included.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.