|
|
#5 (permalink) |
|
Diamond Member
![]() Join Date: Aug 2006
Location: Australia
Age: 16
Posts: 1,386
|
You create the Forms,
You know how to do this? If Not: Right Click your current Form (Default Top Left, Default Names is Form1) Go to Add Click Form Then, You reference the form it is in in the Code window Using form2.txtbox1.text = "" EG: You create A Form: With 2 cmd box's and a text box Create another form One command box with clear the writing on its own form The other command box will clear the writing on the Otherform Now, Just do as i have done: Try out the Code i have done. I have done it differently too what you may want too do ![]() ![]() You may have a cmd box that when clicked, brings up other form This would be done using Form2.show Easy
__________________
GigaByte K8N Nforce Pro-SLI AMD 3800+ Socket 939 2048MB PC3200 DDR Matched RAM 960GB Hard Drive [3 x 320GB SataII Seagate's] Albatron 8600GT 256MB *New. . .Too me* 21" ViewSonic LCD Monitor 6.3 Sound System |Desktop| |Setup!| |Inside Computer| |Server| Updated Setup! Check out My Banner! When The Rich Wage War Its The Poor Who Die. |
|
|
|
|
|
#6 (permalink) | |
|
banned
![]() Join Date: Feb 2007
Posts: 6,060
|
Quote:
But I want to run like different forms that contain different things, so I want one form to be like a menu and use buttons to link into the other forms. How do I do this? Thanks again |
|
|
|
|
|
|
#7 (permalink) | |
|
Diamond Member
![]() Join Date: Aug 2006
Location: Australia
Age: 16
Posts: 1,386
|
Quote:
Eg: you must call Command Buttons cmd(then the name here without brackets) text box must be txt(name) Labels must be lbl(name) Just create the forms with what you want on them Too refrence and item in another form to change its propertys, You must write the forms name, Then the item you wish to change its property, then the items itselfs property, then what you want too change it too. Eg form2.txtexample.text = "I am Not a Nub" Or if you wanted like Radio Buttons on a different form changing something on the main form Create how ever many radio (option) buttons you want on the form Create the other items (for my example im using a text box) Prime example Main Form's name = Form1 (Containing the text box) Other form's name = Form2 (containing 3 Radio Buttons, Not in an array) textbox's name = txtchanged Option button 1 name = Option1 option button 2 name = Option2 Option button 3 name = Option3 Ok. What this program will do is When a radio button is clicked, it will change the propertys of another item on the other form. Here you go: ![]() ![]()
__________________
GigaByte K8N Nforce Pro-SLI AMD 3800+ Socket 939 2048MB PC3200 DDR Matched RAM 960GB Hard Drive [3 x 320GB SataII Seagate's] Albatron 8600GT 256MB *New. . .Too me* 21" ViewSonic LCD Monitor 6.3 Sound System |Desktop| |Setup!| |Inside Computer| |Server| Updated Setup! Check out My Banner! When The Rich Wage War Its The Poor Who Die. |
|
|
|
|
|
|
#8 (permalink) | |
|
banned
![]() Join Date: Feb 2007
Posts: 6,060
|
Quote:
I just need a button to open another form, what do I code to do this? Thanks |
|
|
|
|
|
|
#9 (permalink) | |
|
Diamond Member
![]() Join Date: Aug 2006
Location: Australia
Age: 16
Posts: 1,386
|
Quote:
so form2.show
__________________
GigaByte K8N Nforce Pro-SLI AMD 3800+ Socket 939 2048MB PC3200 DDR Matched RAM 960GB Hard Drive [3 x 320GB SataII Seagate's] Albatron 8600GT 256MB *New. . .Too me* 21" ViewSonic LCD Monitor 6.3 Sound System |Desktop| |Setup!| |Inside Computer| |Server| Updated Setup! Check out My Banner! When The Rich Wage War Its The Poor Who Die. |
|
|
|
|