Default Control Names
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Default Control Names
■ Visual Basic provides the following default names for controls, where N
refers to the instance of that control type:
Control Default Control Default
═══════════════════ ════════ ═════════════════════ ════════
Check box CheckN Combo box ComboN
Command button CommandN Dir DirN
Drive DriveN File FileN
Frame FrameN Horizontal scroll bar HScrollN
Label LabelN List box ListN
Option button OptionN Picture box PictureN
Text box TextN Timer TimerN
Vertical scroll bar VscrollN
───────────────────────────────────────────────────────────────────
See: ◄Controls Summary► ◄Object Naming Schemes► ◄Valid Control Names►