1 / 11

Visual Basic

Visual Basic.net. Textbox & Label Controls. Textbox. Naming convention (txt) Primary use (user input) Can except numeric and character values. Textbox. Textbox. Textbox (properties). The basic properties set in a text box are Name (txtFName) Alignment (where text appears)

bina
Télécharger la présentation

Visual Basic

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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 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 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 Command Button

  10. GroupBox Naming Convention (fra) Primary use: Grouping of like controls

  11. GroupBox GroupBox

More Related