Click here to Skip to main content
15,885,886 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Detecting object with vbscript Pin
chatko16-Jun-09 7:27
chatko16-Jun-09 7:27 
GeneralRe: Detecting object with vbscript Pin
Dave Kreskowiak16-Jun-09 8:07
mveDave Kreskowiak16-Jun-09 8:07 
Questiondealing with control arrays Pin
No-e15-Jun-09 6:08
No-e15-Jun-09 6:08 
AnswerRe: dealing with control arrays Pin
dan!sh 15-Jun-09 6:42
professional dan!sh 15-Jun-09 6:42 
GeneralRe: dealing with control arrays Pin
No-e15-Jun-09 7:19
No-e15-Jun-09 7:19 
GeneralRe: dealing with control arrays Pin
dan!sh 15-Jun-09 7:26
professional dan!sh 15-Jun-09 7:26 
AnswerRe: dealing with control arrays Pin
Dave Kreskowiak15-Jun-09 7:51
mveDave Kreskowiak15-Jun-09 7:51 
GeneralRe: dealing with control arrays Pin
Jon_Boy16-Jun-09 10:13
Jon_Boy16-Jun-09 10:13 
Dave's one of the brightest minds on the boards here, but I'm going to disagree with him slightly.

You can have an array of an labels and setup everything dynamically. Is this the preferred way of doing things the majority of the time? NO. Most of the time you don't need to do this; however, sometimes forms or controls need to built and set dynamically (IE: dynamic menus, reporting forms, etc).

If you really need this functionality, create the array of labels and link them with the addhandler. As Dave mentioned, you can have one event that handles all the click events for the controls. Parse on the control name or whatever else you need to do to perform the correct function from within the event that is shared amongst all the label controls.

"There's no such thing as a stupid question, only stupid people." - Mr. Garrison

GeneralRe: dealing with control arrays Pin
Dave Kreskowiak16-Jun-09 12:04
mveDave Kreskowiak16-Jun-09 12:04 
GeneralRe: dealing with control arrays Pin
Jon_Boy18-Jun-09 1:37
Jon_Boy18-Jun-09 1:37 
QuestionFinding the PropertyGrid Delete Key Event in VB.NET Pin
VB 8.015-Jun-09 4:16
VB 8.015-Jun-09 4:16 
AnswerRe: Finding the PropertyGrid Delete Key Event in VB.NET Pin
Dave Kreskowiak15-Jun-09 7:56
mveDave Kreskowiak15-Jun-09 7:56 
GeneralRe: Finding the PropertyGrid Delete Key Event in VB.NET Pin
VB 8.016-Jun-09 6:07
VB 8.016-Jun-09 6:07 
GeneralRe: Finding the PropertyGrid Delete Key Event in VB.NET Pin
Dave Kreskowiak16-Jun-09 6:28
mveDave Kreskowiak16-Jun-09 6:28 
QuestionEmail - Problem Pin
Paramu197315-Jun-09 3:12
Paramu197315-Jun-09 3:12 
AnswerRe: Email - Problem Pin
Tom Deketelaere15-Jun-09 3:18
professionalTom Deketelaere15-Jun-09 3:18 
AnswerRe: Email - Problem Pin
Dave Kreskowiak15-Jun-09 4:42
mveDave Kreskowiak15-Jun-09 4:42 
AnswerRe: Email - Problem Pin
DaveAuld15-Jun-09 9:59
professionalDaveAuld15-Jun-09 9:59 
QuestionReference Problem Pin
Member 629414615-Jun-09 2:46
Member 629414615-Jun-09 2:46 
AnswerRe: Reference Problem Pin
Mithun.Shitole15-Jun-09 3:05
Mithun.Shitole15-Jun-09 3:05 
AnswerRe: Reference Problem Pin
Tom Deketelaere15-Jun-09 3:14
professionalTom Deketelaere15-Jun-09 3:14 
AnswerRe: Reference Problem Pin
shereen_shf19-Jun-10 8:01
shereen_shf19-Jun-10 8:01 
QuestionCrystal Reports Custom Parameter Passing Pin
JC.KaNNaN15-Jun-09 1:44
JC.KaNNaN15-Jun-09 1:44 
AnswerRe: Crystal Reports Custom Parameter Passing Pin
Kschuler15-Jun-09 8:55
Kschuler15-Jun-09 8:55 
GeneralRe: Crystal Reports Custom Parameter Passing Pin
JC.KaNNaN16-Jun-09 1:20
JC.KaNNaN16-Jun-09 1:20 

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.