|
-
Oct 4th, 2021, 12:38 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] ComboBox Dropdown vs txt Selection
Hi,
Are there events that distinguishing between clicking the dropdown component and clicking in the text area of a combobox?
I don't want the something triggered if the dropdown is clicked.
-
Oct 4th, 2021, 12:47 PM
#2
Thread Starter
Fanatic Member
Re: ComboBox Dropdown vs txt Selection
An alternative might be doubleclick, which doesn't seem to want to work.
Last edited by sgrya1; Oct 4th, 2021 at 12:56 PM.
-
Oct 4th, 2021, 01:45 PM
#3
Re: ComboBox Dropdown vs txt Selection
You can check if the DropDown list was activated.
Code:
Private Sub ComboBox1_Click(sender As Object, e As EventArgs) Handles ComboBox1.Click
If Not Me.ComboBox1.DroppedDown Then
MessageBox.Show("Do somethying")
End If
End Sub
-
Oct 4th, 2021, 02:23 PM
#4
Thread Starter
Fanatic Member
Re: [RESOLVED] ComboBox Dropdown vs txt Selection
OMG. I wish this stuff was as second nature to me as it seems to others.
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
|