Vbcontrols
Vbcontrols
Displays information entered at design time by the user, or in code at run time.
Name : Returns the name used in code to identify an object.
Text: Returns/sets the text contained in the control.
Enabled: Returns/sets a value that determines whether an object can respond to user-generated
events.
Visible: Returns/sets a value that determines whether an object is visible or hidden.
Allignment:Returns/sets the alignment of a control's text.
Selstart:Returns/sets the starting point of text selected.
Seltext: Returns/sets the string containing the currently selected text.
Sellength:Returns/sets the number of characters selected.
Maxlength: Returns/sets the maximum number of characters that can be entered in a control.
Multiline: Returns/sets a value that determines whether a control can accept multiple lines of text.
Passwordchar:Returns/sets a value that determines whether characters typed by a user or
placeholder characters are displayed in a control.
Locked: Determines whether a control can be edited.
Textbox Methods
The common dialog control provides an interface between Visual Basic and the
procedures in the Microsoft Windows dynamic-link library Commdlg.dll.
To create a dialog box using this control, Commdlg.dll must be in our Microsoft
Windows \System directory.
You use the common dialog control in your application by adding it to a form and
setting its properties. The dialog displayed by the control is determined by the
methods of the control.
At run time, a dialog box is displayed or the Help engine is executed when the
appropriate method is invoked; at design time, the common dialog control is
displayed as an icon on a form. This icon can't be sized.
Common Dialog Box
Methods
ShowOpen Shows Open File
ShowSave Shows Save As
ShowColor Color
ShowFont Font
ShowPrinter Print
ShowHelp Invokes Windows Help