For some reason I can not get a doubleclick on a combo box to raise an event. Does any one have any thoughts? here's the code I used to add the handler, it works for a textbox.
Hey, Did you try to select the name of the combobox and then select the doubleclick event from the second box in the code window?
HTH Dhruv(BattleGuard)
: For some reason I can not get a doubleclick on a combo box to raise an event. Does any one have any thoughts? here's the code I used to add the handler, it works for a textbox. : : AddHandler cboWho(index).DoubleClick, AddressOf cboWho_DoubleClick :
I'm not sure what you mean by the second box (properties?). But in any case this is a dynamicaly generated combobox so there's nothing to select.
Thanks for the response, thehack1958
: Hey, : Did you try to select the name of the combobox and then select the doubleclick event from the second box in the code window? : : HTH : Dhruv(BattleGuard) : : : : For some reason I can not get a doubleclick on a combo box to raise an event. Does any one have any thoughts? here's the code I used to add the handler, it works for a textbox. : : : : AddHandler cboWho(index).DoubleClick, AddressOf cboWho_DoubleClick : : : :
I had the same problem a while back and ended up calling Microsoft about it. The double click will not fire under normal circumstances. I recall the guy from Microsoft ran me through some scenario (and it took him a while to come up with one) where I changed the DropDownStyle to Simple and then did a few other things to fire the event, but I could not get it to fire in a practical situation. I wouldn't waste too much time on it if you can find another way to accomplish what you're trying to do.
Chris
: For some reason I can not get a doubleclick on a combo box to raise an event. Does any one have any thoughts? here's the code I used to add the handler, it works for a textbox. : : AddHandler cboWho(index).DoubleClick, AddressOf cboWho_DoubleClick :
Hi, In the code window there are two dropdown boxes at the top. Click on the first one and select the name of the combobox. Then click on the second one and select the "doubleclick" event. That will open a new sub and then you can write your event there.
HTH Dhruv(BattleGuard)
: I'm not sure what you mean by the second box (properties?). But in any case this is a dynamicaly generated combobox so there's nothing to select. : : Thanks for the response, : thehack1958 : : : Hey, : : Did you try to select the name of the combobox and then select the doubleclick event from the second box in the code window? : : : : HTH : : Dhruv(BattleGuard) : : : : : : : For some reason I can not get a doubleclick on a combo box to raise an event. Does any one have any thoughts? here's the code I used to add the handler, it works for a textbox. : : : : : : AddHandler cboWho(index).DoubleClick, AddressOf cboWho_DoubleClick : : : : : : : : :
The combbox I'm trying to wire was create in code so it will not show up in that box. But I did try your suggestion on a combobox created in design mode and the results are the same the combobox does not see the doubleclick event.
But thanks for the response.
thehack1958
: Hi, : In the code window there are two dropdown boxes at the top. Click on the first one and select the name of the combobox. Then click on the second one and select the "doubleclick" event. That will open a new sub and then you can write your event there. : : HTH : Dhruv(BattleGuard) : : : I'm not sure what you mean by the second box (properties?). But in any case this is a dynamicaly generated combobox so there's nothing to select. : : : : Thanks for the response, : : thehack1958 : : : : : Hey, : : : Did you try to select the name of the combobox and then select the doubleclick event from the second box in the code window? : : : : : : HTH : : : Dhruv(BattleGuard) : : : : : : : : : : For some reason I can not get a doubleclick on a combo box to raise an event. Does any one have any thoughts? here's the code I used to add the handler, it works for a textbox. : : : : : : : : AddHandler cboWho(index).DoubleClick, AddressOf cboWho_DoubleClick : : : : : : : : : : : : : : : :
Comments
Did you try to select the name of the combobox and then select the doubleclick event from the second box in the code window?
HTH
Dhruv(BattleGuard)
: For some reason I can not get a doubleclick on a combo box to raise an event. Does any one have any thoughts? here's the code I used to add the handler, it works for a textbox.
:
: AddHandler cboWho(index).DoubleClick, AddressOf cboWho_DoubleClick
:
Thanks for the response,
thehack1958
: Hey,
: Did you try to select the name of the combobox and then select the doubleclick event from the second box in the code window?
:
: HTH
: Dhruv(BattleGuard)
:
:
: : For some reason I can not get a doubleclick on a combo box to raise an event. Does any one have any thoughts? here's the code I used to add the handler, it works for a textbox.
: :
: : AddHandler cboWho(index).DoubleClick, AddressOf cboWho_DoubleClick
: :
:
:
Chris
: For some reason I can not get a doubleclick on a combo box to raise an event. Does any one have any thoughts? here's the code I used to add the handler, it works for a textbox.
:
: AddHandler cboWho(index).DoubleClick, AddressOf cboWho_DoubleClick
:
In the code window there are two dropdown boxes at the top. Click on the first one and select the name of the combobox. Then click on the second one and select the "doubleclick" event. That will open a new sub and then you can write your event there.
HTH
Dhruv(BattleGuard)
: I'm not sure what you mean by the second box (properties?). But in any case this is a dynamicaly generated combobox so there's nothing to select.
:
: Thanks for the response,
: thehack1958
:
: : Hey,
: : Did you try to select the name of the combobox and then select the doubleclick event from the second box in the code window?
: :
: : HTH
: : Dhruv(BattleGuard)
: :
: :
: : : For some reason I can not get a doubleclick on a combo box to raise an event. Does any one have any thoughts? here's the code I used to add the handler, it works for a textbox.
: : :
: : : AddHandler cboWho(index).DoubleClick, AddressOf cboWho_DoubleClick
: : :
: :
: :
:
:
But thanks for the response.
thehack1958
: Hi,
: In the code window there are two dropdown boxes at the top. Click on the first one and select the name of the combobox. Then click on the second one and select the "doubleclick" event. That will open a new sub and then you can write your event there.
:
: HTH
: Dhruv(BattleGuard)
:
: : I'm not sure what you mean by the second box (properties?). But in any case this is a dynamicaly generated combobox so there's nothing to select.
: :
: : Thanks for the response,
: : thehack1958
: :
: : : Hey,
: : : Did you try to select the name of the combobox and then select the doubleclick event from the second box in the code window?
: : :
: : : HTH
: : : Dhruv(BattleGuard)
: : :
: : :
: : : : For some reason I can not get a doubleclick on a combo box to raise an event. Does any one have any thoughts? here's the code I used to add the handler, it works for a textbox.
: : : :
: : : : AddHandler cboWho(index).DoubleClick, AddressOf cboWho_DoubleClick
: : : :
: : :
: : :
: :
: :
:
: