Windows 7 [VISUAL BASIC 2010] Change the text property of a form using a button

Jack Gilmore

New Member
Joined
Nov 19, 2010
Messages
48
Hey Guys,

I was just wondering if you could tell me what coding I need to use to change the text in a form using a command button. I have attached a pic to show what I mean.

Link Removed due to 404 Error

Thanks in advance :D
 

Solution
[langtitle=sv]Re: [VISUAL BASIC 2010] Change the text property of a form using a button[/langtitle]

[lang=sv]Du använder
Me.text="Valfritt"[/lang]

patcooke

Microsoft MVP
Microsoft MVP
Joined
May 16, 2010
Messages
5,703
double click on the command button and enter the following into the button click event:

Form1.text = "what you want it to be"
 

drago87

New Member
Joined
Mar 28, 2011
Messages
2
[langtitle=sv]Re: [VISUAL BASIC 2010] Change the text property of a form using a button[/langtitle]

[lang=sv]Du använder
Me.text="Valfritt"[/lang]
 

Solution
Back
Top