Click here to Skip to main content
15,923,389 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Building a program on top of another Pin
Dave Kreskowiak12-Apr-04 6:47
mveDave Kreskowiak12-Apr-04 6:47 
QuestionHow to Determine which event fired Pin
gaxxx9-Apr-04 23:38
gaxxx9-Apr-04 23:38 
AnswerRe: How to Determine which event fired Pin
PaleyX10-Apr-04 2:20
PaleyX10-Apr-04 2:20 
GeneralRe: How to Determine which event fired Pin
gaxxx10-Apr-04 6:02
gaxxx10-Apr-04 6:02 
GeneralRe: How to Determine which event fired Pin
Ray Cassick11-Apr-04 6:33
Ray Cassick11-Apr-04 6:33 
GeneralRe: How to Determine which event fired Pin
gaxxx11-Apr-04 22:39
gaxxx11-Apr-04 22:39 
GeneralRe: How to Determine which event fired Pin
Dave Kreskowiak12-Apr-04 3:30
mveDave Kreskowiak12-Apr-04 3:30 
GeneralRe: How to Determine which event fired Pin
gaxxx12-Apr-04 8:55
gaxxx12-Apr-04 8:55 
The time difference between MouseEnter & MouseLeave events tells you exactly how long a user dwelt over a control. If you have 20 buttons on a form and wish to maintain a log file for example to see if it is possible to distinguish one user from another by statistics alone, are you seriously saying that it is better programming practice to write 40 handlers? one for each possible event?
All I am saying is that, if from inside the event handler, you were given the 'nature of the event' the simple code for the above would be something like.

Dim B as button = Sender

Open log file
write time,B.Name,B.EventType
Close log file

But unfortunately B.EventType does not exist and nobody seems to think that it is a good idea that it should. Execution efficiency is not an issue here.
I can see the reasoning behind your reply and I do thank you for your time.
GeneralRe: How to Determine which event fired Pin
Ray Cassick12-Apr-04 9:26
Ray Cassick12-Apr-04 9:26 
GeneralRe: How to Determine which event fired Pin
gaxxx12-Apr-04 10:03
gaxxx12-Apr-04 10:03 
GeneralRe: How to Determine which event fired Pin
Ray Cassick12-Apr-04 10:13
Ray Cassick12-Apr-04 10:13 
GeneralRe: How to Determine which event fired Pin
Dave Kreskowiak12-Apr-04 10:50
mveDave Kreskowiak12-Apr-04 10:50 
QuestionBook in VB.NET? Pin
Toola9-Apr-04 22:16
Toola9-Apr-04 22:16 
AnswerRe: Book in VB.NET? Pin
Sarvesvara (BVKS) Dasa11-Apr-04 1:05
Sarvesvara (BVKS) Dasa11-Apr-04 1:05 
GeneralRe: Book in VB.NET? Pin
Prakash Nadar11-Apr-04 1:07
Prakash Nadar11-Apr-04 1:07 
AnswerRe: Book in VB.NET? Pin
T Manjaly15-Apr-04 13:11
T Manjaly15-Apr-04 13:11 
QuestionUsing picture boxes? Pin
Toola9-Apr-04 20:52
Toola9-Apr-04 20:52 
AnswerRe: Using picture boxes? Pin
Nadroj9-Apr-04 21:27
Nadroj9-Apr-04 21:27 
GeneralRe: Using picture boxes? Pin
Toola9-Apr-04 22:00
Toola9-Apr-04 22:00 
GeneralRe: Using picture boxes? Pin
Nadroj9-Apr-04 22:05
Nadroj9-Apr-04 22:05 
GeneralRe: Using picture boxes? Pin
Nick Parker10-Apr-04 7:55
protectorNick Parker10-Apr-04 7:55 
GeneralRe: Using picture boxes? Pin
Toola11-Apr-04 0:38
Toola11-Apr-04 0:38 
GeneralRegistry Search Launch condition for Office Version Pin
nvmoss9-Apr-04 10:17
nvmoss9-Apr-04 10:17 
GeneralRe: Registry Search Launch condition for Office Version Pin
Mike Dimmick10-Apr-04 4:04
Mike Dimmick10-Apr-04 4:04 
QuestionBinding Data!!?? Pin
Albadyiah9-Apr-04 5:54
Albadyiah9-Apr-04 5:54 

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.