Click here to Skip to main content
15,899,022 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Make all the controls inside a Groupbox unusable, without disabling them Pin
JR2126-Apr-15 22:12
JR2126-Apr-15 22:12 
GeneralRe: Make all the controls inside a Groupbox unusable, without disabling them Pin
dilkonika7-Apr-15 6:17
dilkonika7-Apr-15 6:17 
Questiondatabase access Pin
Mshindi6-Apr-15 8:30
Mshindi6-Apr-15 8:30 
AnswerRe: database access Pin
Dave Kreskowiak6-Apr-15 8:40
mveDave Kreskowiak6-Apr-15 8:40 
QuestionDetect if any of controls inside a TableLayoutPanel is clicked Pin
dilkonika5-Apr-15 17:39
dilkonika5-Apr-15 17:39 
AnswerRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
Richard MacCutchan5-Apr-15 22:03
mveRichard MacCutchan5-Apr-15 22:03 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
dilkonika6-Apr-15 6:15
dilkonika6-Apr-15 6:15 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
Dave Kreskowiak6-Apr-15 6:32
mveDave Kreskowiak6-Apr-15 6:32 
Yes. You have to wire up the Click event of each control to a central Click handler to do what you want.

It seems like your concern is based on the assumption that only one handler can be assigned to the Click event. That is NOT the case. Multiple handlers can be assigned to the same event and they will all get executed.

So, you CAN have your general Click event handler for every control that you want to be notified for and you can have individual Click handlers for each control for specific functionality for whatever a certain button, or whatever controls, is going to do when clicked.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
dilkonika6-Apr-15 6:37
dilkonika6-Apr-15 6:37 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
Dave Kreskowiak6-Apr-15 7:32
mveDave Kreskowiak6-Apr-15 7:32 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
Sascha Lefèvre6-Apr-15 6:35
professionalSascha Lefèvre6-Apr-15 6:35 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
dilkonika6-Apr-15 6:39
dilkonika6-Apr-15 6:39 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
Sascha Lefèvre6-Apr-15 6:59
professionalSascha Lefèvre6-Apr-15 6:59 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
dilkonika6-Apr-15 7:02
dilkonika6-Apr-15 7:02 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
dilkonika6-Apr-15 7:05
dilkonika6-Apr-15 7:05 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
Sascha Lefèvre6-Apr-15 7:11
professionalSascha Lefèvre6-Apr-15 7:11 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
dilkonika6-Apr-15 7:13
dilkonika6-Apr-15 7:13 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
Sascha Lefèvre6-Apr-15 7:19
professionalSascha Lefèvre6-Apr-15 7:19 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
dilkonika6-Apr-15 7:26
dilkonika6-Apr-15 7:26 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
Sascha Lefèvre6-Apr-15 7:39
professionalSascha Lefèvre6-Apr-15 7:39 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
dilkonika6-Apr-15 7:49
dilkonika6-Apr-15 7:49 
GeneralRe: Detect if any of controls inside a TableLayoutPanel is clicked Pin
Sascha Lefèvre6-Apr-15 8:00
professionalSascha Lefèvre6-Apr-15 8:00 
QuestionScroll controls in a TableLayoutPanel using code Pin
dilkonika3-Apr-15 18:45
dilkonika3-Apr-15 18:45 
AnswerRe: Scroll controls in a TableLayoutPanel using code Pin
Richard MacCutchan3-Apr-15 21:50
mveRichard MacCutchan3-Apr-15 21:50 
AnswerRe: Scroll controls in a TableLayoutPanel using code Pin
Dave Kreskowiak4-Apr-15 3:47
mveDave Kreskowiak4-Apr-15 3:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.