Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 15th, 2006, 01:23 PM
Authorized User
 
Join Date: Sep 2005
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

 
Old June 15th, 2006, 03:21 PM
Authorized User
 
Join Date: Sep 2005
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

 
Old June 15th, 2006, 03:28 PM
Authorized User
 
Join Date: Sep 2005
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?

 
Old June 15th, 2006, 04:30 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 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





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





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