Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 15th, 2006, 01:23 PM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Right-Click or Double-Click Combobox?

Is there a way to right-click or, more importantly, double-click on a combobox control?

I want to use this so when the user double-clicks on the combobox, a window comes up to add collection options during runtime.

Thanks!!!

Panuvin

  #2 (permalink)  
Old June 15th, 2006, 03:21 PM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How do I change the event for the combobox in VS.NET 2005? If I double-click on the combobox using the IDE, it automatically goes to the 'SelectedIndexChanged' event in the code.

Thanks again!

Panuvin

  #3 (permalink)  
Old June 15th, 2006, 03:28 PM
Authorized User
 
Join Date: Sep 2005
Location: , , .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

*** I just manually added the code into the form, but I know there's a way to change (and list) the events for each component. Anyone know how?

  #4 (permalink)  
Old June 15th, 2006, 04:30 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

What technology is this for? Win Forms or Web Forms?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
double click problem naveed77 Beginning VB 6 0 December 4th, 2007 03:49 AM
Simulate a double click? chobo2 C# 5 November 10th, 2007 06:15 AM
Simulating Double Click... savagesoft BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 1 May 14th, 2007 10:41 AM
Double-click event Grafixx01 Access 6 May 7th, 2007 08:09 AM
Double Click problem Merlin Java GUI 1 March 31st, 2004 10:15 AM



All times are GMT -4. The time now is 10:42 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.