Click here to Skip to main content
15,907,687 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: command prompt build web deployment and vs project 2005 Pin
Travelthrprog20-Feb-08 8:46
Travelthrprog20-Feb-08 8:46 
Questionhow to catch events of checkboxes added at runtime [modified] Pin
lesstraveled19-Feb-08 6:56
lesstraveled19-Feb-08 6:56 
GeneralRe: how to catch events of checkboxes added at runtime Pin
Dave Kreskowiak19-Feb-08 8:46
mveDave Kreskowiak19-Feb-08 8:46 
GeneralRe: how to catch events of checkboxes added at runtime Pin
lesstraveled19-Feb-08 8:54
lesstraveled19-Feb-08 8:54 
GeneralRe: how to catch events of checkboxes added at runtime Pin
nlarson1119-Feb-08 11:07
nlarson1119-Feb-08 11:07 
GeneralRe: how to catch events of checkboxes added at runtime Pin
Dave Kreskowiak19-Feb-08 11:10
mveDave Kreskowiak19-Feb-08 11:10 
QuestionRe: how to catch events of checkboxes added at runtime Pin
lesstraveled20-Feb-08 4:07
lesstraveled20-Feb-08 4:07 
GeneralRe: how to catch events of checkboxes added at runtime Pin
Dave Kreskowiak20-Feb-08 5:14
mveDave Kreskowiak20-Feb-08 5:14 
lesstraveled wrote:
If i were to use a control array for the checkboxes...can i still use the 'controls.add' to add new members to the array and to frame3 as in 'Set chkObject = frmEmployer.Controls.Add("VB.CheckBox", ctrlName, Frame3)'...? I do not believe that the 'load' statement will accomplish this.


The Load statement has nothing to do with creating controls.

Under VB.NET, you can do something like:
Dim newControl As New CheckBox
' setup the properties of the control here...
Me.Controls.Add(newControl)

I think you can do the same thing under VB6, or something very close to it.


<blockquote class="FQ"><div class="FQA">lesstraveled wrote:</div>but i dont know if I can still add them to the scrolling frame without using 'controls.add'. </blockquote>

How about trying it to see what happens??



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007




GeneralRe: how to catch events of checkboxes added at runtime Pin
nlarson1120-Feb-08 5:18
nlarson1120-Feb-08 5:18 
AnswerRe: how to catch events of checkboxes added at runtime Pin
lesstraveled20-Feb-08 14:18
lesstraveled20-Feb-08 14:18 
QuestionGroupBox Binding to Access Database [modified] Pin
IvanIT19-Feb-08 6:20
IvanIT19-Feb-08 6:20 
GeneralRe: GroupBox Binding to Access Database Pin
cstrader23219-Feb-08 6:26
cstrader23219-Feb-08 6:26 
GeneralRe: GroupBox Binding to Access Database Pin
IvanIT19-Feb-08 6:44
IvanIT19-Feb-08 6:44 
GeneralRe: GroupBox Binding to Access Database Pin
cstrader23219-Feb-08 6:55
cstrader23219-Feb-08 6:55 
GeneralRe: GroupBox Binding to Access Database Pin
IvanIT19-Feb-08 7:03
IvanIT19-Feb-08 7:03 
GeneralObject reference not set to an instance of an object error Pin
Aptiva Dave19-Feb-08 5:53
Aptiva Dave19-Feb-08 5:53 
GeneralRe: Object reference not set to an instance of an object error Pin
cstrader23219-Feb-08 6:06
cstrader23219-Feb-08 6:06 
GeneralRe: Object reference not set to an instance of an object error Pin
Aptiva Dave19-Feb-08 6:38
Aptiva Dave19-Feb-08 6:38 
GeneralRe: Object reference not set to an instance of an object error Pin
cstrader23219-Feb-08 6:47
cstrader23219-Feb-08 6:47 
GeneralRe: Object reference not set to an instance of an object error Pin
Aptiva Dave19-Feb-08 6:50
Aptiva Dave19-Feb-08 6:50 
GeneralRe: Object reference not set to an instance of an object error Pin
cstrader23219-Feb-08 7:08
cstrader23219-Feb-08 7:08 
GeneralRe: Object reference not set to an instance of an object error Pin
Aptiva Dave19-Feb-08 7:32
Aptiva Dave19-Feb-08 7:32 
GeneralRe: Object reference not set to an instance of an object error Pin
Dave Kreskowiak19-Feb-08 8:44
mveDave Kreskowiak19-Feb-08 8:44 
GeneralRe: Object reference not set to an instance of an object error Pin
Aptiva Dave19-Feb-08 8:47
Aptiva Dave19-Feb-08 8:47 
GeneralRe: Object reference not set to an instance of an object error Pin
Dave Kreskowiak19-Feb-08 11:03
mveDave Kreskowiak19-Feb-08 11:03 

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.