Click here to Skip to main content
15,914,419 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: getting the correct location Pin
raulavi18-Jan-05 10:18
raulavi18-Jan-05 10:18 
GeneralRe: getting the correct location Pin
raulavi18-Jan-05 10:30
raulavi18-Jan-05 10:30 
GeneralRe: getting the correct location Pin
Jim Matthews18-Jan-05 10:46
Jim Matthews18-Jan-05 10:46 
GeneralRe: getting the correct location Pin
raulavi18-Jan-05 13:01
raulavi18-Jan-05 13:01 
GeneralAuthorization and profile application block Pin
tigertwareg18-Jan-05 6:33
tigertwareg18-Jan-05 6:33 
GeneralRe: Authorization and profile application block Pin
J4amieC19-Jan-05 5:44
J4amieC19-Jan-05 5:44 
GeneralRe: Authorization and profile application block Pin
Anonymous24-Jan-05 3:51
Anonymous24-Jan-05 3:51 
GeneralAccessing a Form from another Pin
raulavi18-Jan-05 5:58
raulavi18-Jan-05 5:58 
How do you access a winform in CLASS FORM1 from CLASS FORM2 (form1 is calling form2)?

this is what I would like to do.
FORM1 will have the winform .
FORM2 will have the controls to create at run time...this controls will show on the screen of Form1.

So far what I have:
FORM1 is calling FORM2 as
popForm1.form_load(Me)
and in FORM2 I am trying creating the controls:
Public Sub form_load(ByVal pf2 As Form)
dim NEWCTRL as new textbox
NEWCTRL.name = "ctrl1"
...
HERE IS WHAT i WANT FORM1.panel1.CONTROLS.ADD(NEWCTRL)
the FORM1 has a Panel1 that I dont know how to add my newctrl to FORM1.PANEL1


THANKS
GeneralRe: Accessing a Form from another Pin
Amaterasuv18-Jan-05 7:23
Amaterasuv18-Jan-05 7:23 
GeneralRe: Accessing a Form from another Pin
raulavi18-Jan-05 7:32
raulavi18-Jan-05 7:32 
GeneralRe: Accessing a Form from another Pin
raulavi18-Jan-05 7:47
raulavi18-Jan-05 7:47 
GeneralModifying and adding controls to parentform Pin
Amaterasuv18-Jan-05 8:14
Amaterasuv18-Jan-05 8:14 
GeneralRe: Accessing a Form from another Pin
Dave Kreskowiak18-Jan-05 8:19
mveDave Kreskowiak18-Jan-05 8:19 
GeneralRe: Accessing a Form from another Pin
Rizwan Bashir19-Jan-05 0:37
Rizwan Bashir19-Jan-05 0:37 
GeneralLocalizing Crystal Reports Pin
Amaterasuv18-Jan-05 1:01
Amaterasuv18-Jan-05 1:01 
GeneralEditing MIDI File Pin
girijaa18-Jan-05 0:37
professionalgirijaa18-Jan-05 0:37 
Generalvb.net Pin
Anonymous17-Jan-05 23:51
Anonymous17-Jan-05 23:51 
GeneralRe: vb.net Pin
Tom John18-Jan-05 0:02
Tom John18-Jan-05 0:02 
GeneralObject Property Serialization Pin
Tom John17-Jan-05 23:32
Tom John17-Jan-05 23:32 
GeneralRe: Object Property Serialization Pin
-Dr_X-20-Jan-05 13:37
-Dr_X-20-Jan-05 13:37 
Generalaccessing property of dynamically created controls using vb.net code behind Pin
udita17-Jan-05 19:15
udita17-Jan-05 19:15 
GeneralRe: accessing property of dynamically created controls using vb.net code behind Pin
Rizwan Bashir17-Jan-05 20:21
Rizwan Bashir17-Jan-05 20:21 
QuestionWhy could not exit from a form? Pin
rushing17-Jan-05 18:27
rushing17-Jan-05 18:27 
AnswerRe: Why could not exit from a form? Pin
Amaterasuv18-Jan-05 8:02
Amaterasuv18-Jan-05 8:02 
GeneralRe: Why could not exit from a form? Pin
rushing18-Jan-05 16:35
rushing18-Jan-05 16:35 

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.