Hi guys looks like i am trying to do some thing vb wont aloow me to do again can you confirm or tell fo work around for this.
i am after a dropdown checkbox so i can select items from the checkbox list.
is this possible?
thanks in advance
Printable View
Hi guys looks like i am trying to do some thing vb wont aloow me to do again can you confirm or tell fo work around for this.
i am after a dropdown checkbox so i can select items from the checkbox list.
is this possible?
thanks in advance
You want a multiselect combobox? Well, that is possible using API but one thing I can say its a bad idea. Since comboboxes are not designed for that. You can use listview instead.
Basically i want a list like a combo box that when dropped it has selections in it with check boxs next to it so i can select or unselect options in the list. not bothered what it is but how it looks and works. how do i get list view?
Then you will need to find a third party control. VB combo boxs do not support checkboxs.
VB Listboxs, however, do support checkbox so that could be an alternative.
Hi guys
sorted it i think i am useing a listbox as suggested but mimiced a combo box with a resized command button and the following code
have not checked the funtionality of the listbox yet but it looks remarkably like a combox box when clickedCode:Private Sub Command2_Click()
If List1.Height = "285" Then
List1.Height = "2985"
Else
If List1.Height = "2985" Then
List1.Height = "285"
End If
End If
End Sub
If it works for you then life is good.
The size of the listbox display should have no bearing no the code you write to manipulate its contents.