Combo Box "List" property
Posted on 2005-03-11
Hello folks. Am working on a Combo Box control that centers on a Combo Box
The standard Combo Box has a List property. Now the VB Wizard created this for me as such:
'WARNING! DO NOT REMOVE OR MODIFY THE FOLLOWING COMMENTED LINES!
Public Property Get List(ByVal Index As Integer) As String
List = cboData.List(Index)
Public Property Let List(ByVal Index As Integer, ByVal New_List As String)
cboData.List(Index) = New_List
Lurvely. Except it's no good to me. If I drop my User Control on a form, the "List" property is not visible in the Properties window. I would like to expose a "List" property to a user of the control, i.e. a developer plonking my control on to a form.
Regarding the points: I ALWAYS give "A"s. If your solution is a post to another web page or a convincing "sorry but this can't be done", you will get the original 20 points and an "A". If it takes more effort than that, I *will* increase to 50. If it takes a *lot* of effort ..... I currently have 410 points available.