Up | Button | BitBtn | SpeedButton | CheckBox | ComboBox | Control | Edit | Memo | Font | GroupBox | Label | ListBox | PageControl | Panel | RadioButton | Bevel | ScrollBox | TabSheet | WinControl | Callback | Frame | WinControl | Form | Release Notes

 

  

 
ScrollBox

The ScrollBox class is derived from the WinControl class.

access function: GetScrollBox(name)

The scrollbox class is used for user configurable panels

  • In DataInput
  • In CustomPanel

Attributes of the ScrollBox class

Attribute Access Type Description
color R/W string the background color, 'red', 'blue', '0xffffff'
bevelInner R/W int 0=none, 1=lowered, 2=raised, 3=space
bevelOuter R/W int as bevelInner
bevelWidth R/W int width of bevel
borderStyle R/W int 0=none, 1=single, 2=dialog, 3=sizeable, 4=ToolWindow, 5=sizeable ToolWindow
font R Font the font object for accessing the panels font attributes
onResize W callback called when control resizes
onClick W callback called when user clicks the control

Example 1: Changing Color and font of a DataInput page

panel=GetDataInputView('SETUP').panel
panel.color='green'
panel.font.size=10
panel.font.bold=1

More information: ScrollBox

 

Scorpion Vision Version XII : Build 646 - Date: 20170225
Scorpion Vision Software® is a registered trademark of Tordivel AS.
Copyright © 2000 - 2017 Tordivel AS.