• Log in or sign up for an account here: https://www.sythe.org/login

Help with Idea

tomanderson12

Member
Joined
Jan 21, 2008
Sythe Gold
0
Messages
53
Help with Idea
I am wanting to create a basic form with Labels, Text Boxes and a Button

That has Empty text boxes then the Label such as AIM : Then the user fills out the form with other information such as AIM, E-Mail, etc then once the button is clicked the whole form appears in a new text box in order so AIM : Data user entered.

Thanks
 
Help with Idea
You mean when you click it the text boxes become labels?

Do something like this:

Private Sub Command1_Click()
MSNlbl.caption = MSN.text
AIMlbl.caption = AIM.text
end sub

I'm not too sure what you mean, please explain a little clearer?
 
Help with Idea
Ok so theres a form with labels down the left text boxes on the right to enter the information from the labels on the left so like

AIM: (Label) TextBox
Name: TextBox
Address: TextBox

etc...

Then when a button is clicked the information and the label name is put into a new text box
 
Help with Idea
So basically...

[ (Label 1) AIM: ] [ (Text1) Chumbawumba ]
[ (Label 2) Name: ] [ (Text2) Sly Apes ]
[ (Label 3) Address: ] [(Text3) 111 Rod Road ]

And pressing the button Command1 would put into Text4...

[Text4]
AIM: Chumbawumba
Name: Sly Apes
Address: 111 Rod Road

Assuming that's what you want all you need to do is set your Text4's multiline property to "True" and then use the following code.
Code:
Private Sub Command1_Click()
Text4.Text = Label1.Caption + " " + Text1.Text + vbNewLine + Label2.Caption + " " + Text2.Text + vbNewLine + Label3.Caption + " " + Text3.Text
End Sub
 
Runescape Gamblingrunescape gambling
Back
Top