EditBox.VScroll
The EditBox Control Object that is returned by the AddEditBox function has a VScroll property. The VScroll property determines whether the Edit Box has a vertical scroll bar.
Syntax |
ControlObject.VScroll = Value Where ControlObject. is the name of the variable (declared in your script) that is used to store the EditBox Control Object that is returned by the AddEditBox function. |
Description |
Sets the vertical scroll bar for the Edit Box. The scroll bar is are only visible if the Edit Box is set to have multiple lines. |
Arguments |
Value {Boolean} If set to True (1), the Edit box has a vertical scroll bar; if set to False (0) it does not have a vertical scroll bar. |
Returns |
Boolean |
Example:
EditBox1.VScroll = True
Where:
- EditBox1 is the name of the variable that stores the EditBox Control Object returned by the AddEditBox function
- True sets the Edit Box to have a vertical scroll bar.