|
-
Jun 1st, 2007, 12:02 PM
#1
Thread Starter
Fanatic Member
Combo box question
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
-
Jun 1st, 2007, 12:09 PM
#2
Re: Combo box question
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.
-
Jun 1st, 2007, 12:21 PM
#3
Thread Starter
Fanatic Member
Re: Combo box question
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?
-
Jun 1st, 2007, 12:24 PM
#4
Re: Combo box question
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.
-
Jun 1st, 2007, 12:40 PM
#5
Thread Starter
Fanatic Member
Re: Combo box question
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
Code:
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
have not checked the funtionality of the listbox yet but it looks remarkably like a combox box when clicked
-
Jun 1st, 2007, 12:46 PM
#6
Re: Combo box question
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|