Button Properties
Prev
Next

Button Properties

xX-position
 X coordinate of the control relative to its parent
yY-position
 Y coordinate of the control relative to its parent
wWidth
 Width of the control in pixels
hHeight
 Height of the control in pixels
xmodeX-mode
  This setting specified whether the control width is fixed width, whether it floats relative to the right-hand side of its block, or whether it stretches as its block width changes. The setting affects the interpretation of the width value.
ymodeY-mode
  This setting specified whether the control height is fixed width, whether it floats relative to the bottom of its block, or whether it stretches as its block height changes. The setting affects the interpretation of the height value.
fgcolorText colour
 Text colour
bgcolorBackground colour
 Background colour
fontFont
 Specify font
nameControl name
 Control name, used to access control from scripts
textButton text
 Text displayed in the button
taborderTab order
 Tab and shift-tab cycle through controls in increasing tab order. A tab order of zero means that the control cannot be entered by tabbing.
configsConfiguration
  List of configuration values. These are primarily used in conjunction with reusable components.
slotsSlots
  List of slots, which contain script code that can be associated with events occurring in other objects.
onclickOn Click
  Script routine to be invoked when the button is clicked. A value like #Click invokes an external function called onButtonClick; otherwise define a function called eventFunc whose single argument will be the button.
notesNotes
  The Notes setting may be used for any arbitrary notes, for instance for documentation. Rekall does nothing with the value, other than to preserve it.

Prev
Next
Home