visual basic.net textbox & label controls. textbox naming convention (txt) primary use (user...
TRANSCRIPT
![Page 1: Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values](https://reader036.vdocument.in/reader036/viewer/2022082711/56649efc5503460f94c103eb/html5/thumbnails/1.jpg)
Visual Basic.net
Textbox & Label Controls
![Page 2: Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values](https://reader036.vdocument.in/reader036/viewer/2022082711/56649efc5503460f94c103eb/html5/thumbnails/2.jpg)
Textbox
• Naming convention (txt)
• Primary use (user input)
• Can except numeric and character values
![Page 3: Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values](https://reader036.vdocument.in/reader036/viewer/2022082711/56649efc5503460f94c103eb/html5/thumbnails/3.jpg)
Textbox
Textbox
![Page 4: Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values](https://reader036.vdocument.in/reader036/viewer/2022082711/56649efc5503460f94c103eb/html5/thumbnails/4.jpg)
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)
![Page 5: Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values](https://reader036.vdocument.in/reader036/viewer/2022082711/56649efc5503460f94c103eb/html5/thumbnails/5.jpg)
Label
• Naming convention (lbl)
• Primary use (used to label the contents of an object)
• Secondary use (used to display the results of an event)
![Page 6: Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values](https://reader036.vdocument.in/reader036/viewer/2022082711/56649efc5503460f94c103eb/html5/thumbnails/6.jpg)
Label
Label
![Page 7: Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values](https://reader036.vdocument.in/reader036/viewer/2022082711/56649efc5503460f94c103eb/html5/thumbnails/7.jpg)
Syntax (textbox & label)
The following block of VB codedemonstrates the use of these controls
lblFName.Caption = txtFName.Text
*note this code would appear in a commandbutton
![Page 8: Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values](https://reader036.vdocument.in/reader036/viewer/2022082711/56649efc5503460f94c103eb/html5/thumbnails/8.jpg)
Command Button
Naming convention (btn)
Primary use: activation of lines of
executable code during runtime of your
Visual Basic programs
![Page 9: Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values](https://reader036.vdocument.in/reader036/viewer/2022082711/56649efc5503460f94c103eb/html5/thumbnails/9.jpg)
Command Button
Command Button
![Page 10: Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values](https://reader036.vdocument.in/reader036/viewer/2022082711/56649efc5503460f94c103eb/html5/thumbnails/10.jpg)
GroupBox
Naming Convention (fra)
Primary use: Grouping of like controls
![Page 11: Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values](https://reader036.vdocument.in/reader036/viewer/2022082711/56649efc5503460f94c103eb/html5/thumbnails/11.jpg)
GroupBox
GroupBox