Change control [ ] set [ ] to [ ]

Command

SETCONTROLPROPERTY

Image


Description

Allows you to change a property on a control

Group Actions
Section Control

Parameter 1

The control that you wish to change

Parameter 2

The property that you want to change, The options shown will be

  • BACKCOLOUR
  • CHECKED
  • ENABLED
  • FORECOLOUR
  • HEIGHT
  • LEFTPOSITION
  • LISTNAME
  • REQUIRED
  • SELECTEDROW
  • TOPPOSITION
  • VISIBLE
  • WIDTH
  • ZORDER

Parameter 3

This will be the value for the new property – this will depend on the property you have selected

 

Use

The following screen contains the buttons Continue (BUTTON01) and Not Interested (BUTTON02) which control the flow of screens in the script. the background colour of these buttons is set by default to white.

Two additional buttons will control the colour properties of BUTTON01 and BUTTON02. The OnClick script of each button can be as following:

  • Colour: Clicking that button turns the background colour of BUTTON01 and BUTTON02 to green.

  • No colour: Clicking that button restores the background colour of BUTTON01 and BUTTON02 to white.