GameMakerHelpBlog

Sunday, January 6, 2008

Quoting Written Text - VB

Hi

my first script for Visual Studio Visual Basic

This script is about quoting written text when a button is pressed. I can't really explain it more than that sorry

[code]

Public Class Form1
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TextBox1.Text = "quote : " + TextBox1.Text
End Sub
End Class

[/code]

The Textbox1 and Burron1 can be changed with a different name, but i wouldn't advise it if you are a new user

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home