Click here to Skip to main content
15,908,020 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionDatagrid Pin
welbert24-Jan-06 16:54
welbert24-Jan-06 16:54 
AnswerRe: Datagrid Pin
Dave Kreskowiak24-Jan-06 17:25
mveDave Kreskowiak24-Jan-06 17:25 
QuestionPass parameters and execute a console Application from VB.NET? Pin
Freddie Code24-Jan-06 14:42
Freddie Code24-Jan-06 14:42 
AnswerRe: Pass parameters and execute a console Application from VB.NET? Pin
Dave Kreskowiak24-Jan-06 15:28
mveDave Kreskowiak24-Jan-06 15:28 
GeneralRe: Pass parameters and execute a console Application from VB.NET? Pin
Freddie Code29-Jan-06 14:27
Freddie Code29-Jan-06 14:27 
GeneralRe: Pass parameters and execute a console Application from VB.NET? Pin
Dave Kreskowiak30-Jan-06 1:10
mveDave Kreskowiak30-Jan-06 1:10 
QuestionHandling a user control event in the consuming form Pin
nzmike24-Jan-06 13:21
nzmike24-Jan-06 13:21 
AnswerRe: Handling a user control event in the consuming form Pin
Matthew Hazlett24-Jan-06 21:33
Matthew Hazlett24-Jan-06 21:33 
If it was just a class that inherited the datagrid you could do it easly (the same way you normally would).

But being a usercontrol the datagrid is a part of the control and you cant access the events ferrom it directly.But you cpould do a cheesy workaround, In the user control you can define a public event and pass it trhe information that the CurrentCellChanged event gets.

At the top of the program...
Public Event CurrentCellChanged(sender as object, ........)

Then create an event sub in your usercontrol and in it put this line:
Raise Event CurrentCellChanged(sender, .........)

Now you can add this event to the main form...


Matthew Hazlett

GeneralRe: Handling a user control event in the consuming form Pin
nzmike25-Jan-06 13:21
nzmike25-Jan-06 13:21 
QuestionBig/Little Endian Pin
Brent Lamborn24-Jan-06 11:51
Brent Lamborn24-Jan-06 11:51 
AnswerRe: Big/Little Endian Pin
Mike Dimmick24-Jan-06 12:27
Mike Dimmick24-Jan-06 12:27 
GeneralRe: Big/Little Endian Pin
Brent Lamborn25-Jan-06 3:36
Brent Lamborn25-Jan-06 3:36 
QuestionIdle System Pin
militiaware24-Jan-06 11:43
militiaware24-Jan-06 11:43 
AnswerRe: Idle System Pin
Christian Graus24-Jan-06 12:49
protectorChristian Graus24-Jan-06 12:49 
QuestionRelease Custom Control (Hide Source Code) Pin
AlexeiXX324-Jan-06 10:19
AlexeiXX324-Jan-06 10:19 
AnswerRe: Release Custom Control (Hide Source Code) Pin
militiaware24-Jan-06 12:00
militiaware24-Jan-06 12:00 
AnswerRe: Release Custom Control (Hide Source Code) Pin
Dave Kreskowiak24-Jan-06 12:34
mveDave Kreskowiak24-Jan-06 12:34 
QuestionPulling XML data into a data grid Pin
George Julien24-Jan-06 8:38
George Julien24-Jan-06 8:38 
QuestionReturning primary key value when inserting records Pin
dptalt24-Jan-06 5:16
dptalt24-Jan-06 5:16 
AnswerRe: Returning primary key value when inserting records Pin
Guffa24-Jan-06 6:58
Guffa24-Jan-06 6:58 
GeneralRe: Returning primary key value when inserting records Pin
AlexeiXX324-Jan-06 10:23
AlexeiXX324-Jan-06 10:23 
AnswerRe: Returning primary key value when inserting records Pin
Guffa24-Jan-06 21:56
Guffa24-Jan-06 21:56 
GeneralRe: Returning primary key value when inserting records Pin
dptalt25-Jan-06 4:48
dptalt25-Jan-06 4:48 
AnswerRe: Returning primary key value when inserting records Pin
Guffa27-Jan-06 7:19
Guffa27-Jan-06 7:19 
GeneralRe: Returning primary key value when inserting records Pin
dptalt30-Jan-06 10:27
dptalt30-Jan-06 10:27 

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.