Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Project Argio VB 2008 #4: Diving Into Code!

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
393 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 22, 2009

http://www.projectargio.com
PLEASE READ AND COMMENT:

Hey guys thank you for coming back. Today we'll be diving into code!!!

EXPLANATION:

So lets break up all the code we typed today. We made a label and changed the name property to Displayer. We also made a button and changed the name property to MainButton. Then we changed the text of MainButton to "Click Me!". Then we changed the text of the label to nothing. Then we opened up the code of the event that we clicked the button. In our code we typed:

Displayer.Text = "You've clicked the button!"

Lets break this up... Displayer is the name of our label. The dot in our code is an operator that allows us to access variables and methods of our label, Displayer. Text is the variable we would like to access. = is an assignment operator. Next we tell the computer what we want our label's text property to have. In this case we want it to have You've clicked the button.

In english this would be:

Computer! Open the box displayer! /
/
/
/
| |
|Displayer |
|__________|

Now, assign "You've clicked the text" to a variable called text inside our box.

So once you understand it, it is pretty easy.

Please SUBSCRIBE! If you do I will ask you for your email and If you give it to me I will send you weekly code updates :).

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • is it me or are you talking like .. hard core?

  • nice vid

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more