Presentation is loading. Please wait.

Presentation is loading. Please wait.

Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values.

Similar presentations


Presentation on theme: "Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values."— Presentation transcript:

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


Download ppt "Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values."

Similar presentations


Ads by Google