dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: SQL
Expertise: Beginner
Mar 21, 1997

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


How do you catch a double-click on a poplist?

Question:
I have made the poplist readonly to avoid activating it when clicking, but apparently the DoubleClick() method doesn't fire at all. How do I catch the double-click?

Answer:
The DoubleClick() method does not apply to a pop-up list, since as soon as a single click is received, the list portion of the pop-up list closes. You might want to try using a list box, which does fire a DoubleClick() method as long as the list is not ReadOnly.

I'm not sure why you would want to not activate a pop-up list. The purpose of having a pop-up list is to crop down a list of valid values. If you want to check for a valid value without displaying the values, you should try a different method, such as the Validate() method.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date