Download presentation
Presentation is loading. Please wait.
Published byGeorgiana McGee Modified over 9 years ago
1
Visual Basic.net Textbox & Label Controls
2
Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values
3
Textbox
4
Textbox (properties) The basic properties set in a text box are Name (txtFName) Alignment (where text appears) Password Character (set only for a use in a password form) Text (set to the “” set) visibility (True)
5
Label Naming convention (lbl) Primary use (used to label the contents of an object) Secondary use (used to display the results of an event)
6
Label
7
Syntax (textbox & label) The following block of VB code demonstrates the use of these controls lblFName.Caption = txtFName.Text *note this code would appear in a command button
8
Command Button Naming convention (btn) Primary use: activation of lines of executable code during runtime of your Visual Basic programs
9
Command Button
10
GroupBox Naming Convention (fra) Primary use: Grouping of like controls
11
GroupBox
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.