# Set Property

This action allows users to set dynamically the properties of specified control or form.

Action available for the following operating systems:

![](https://3821468174-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTlA1suFa5N48x_83N%2F-MAlPVpH3WRwBy16c7JY%2F-MAlQBZuuTnc6hyzKSVQ%2Fimage.png?alt=media\&token=5c9534b7-ca05-4ac4-b408-2207cd5a5295)

### Parameters

* **Source** - The type of object that the user wants to set properties. The possible options for this parameter are:
  * Control
  * Form
  * Control Type. It can be one of:
    * Button
    * Chart
    * Checkbox
    * Combo
    * Draw
    * HTML Viewer
    * Image
    * Input
    * Label
    * List
    * Looper
  * Control List
* **Property** - The property that the user wants to set. Depending on the control type, the following properties can be set:
  * \<value> *string*
  * Background Color
  * Border. It can be one of:
    * 1 - Yes
    * 2 - No
  * Dec. Planes *numeric*
  * Font Color
  * Font Name *string*
  * Font Properties. It can be one of:
    * 0 - \<none>
    * 1 - Bold
    * 2 - Underlined
    * 3 - Italic
    * 4 - Bold Italic
    * 5 - Bold Underlined
    * 6 - Bold Italic Underlined
    * 7 - Italic Underlined
  * Font Size *numeric*
  * Height *numeric*
  * Hidden Value *string*
  * Hint Text *string*
  * Mandatory. It can be one of:
    * 1 - Yes
    * 2 - No
  * Max. Length *numeric*
  * Max. Value *numeric*
  * Min. Value *numeric*
  * Plane *numeric*
  * Second Image *string*
  * State. It can be one of:
    * 1 - Editable
    * 2 - Disabled
    * 3 - Read Only
  * Text *string*
  * Text Alignment. It can be one of:
    * 1 - Left
    * 2 - Center
    * 3 - Right
  * Visible. It can be one of:
    * 1 - Yes
    * 2 - No
  * Width *numeric*
  * X *numeric*
  * Y *numeric*

{% hint style="info" %}
If user is setting properties X, Y, Width, Height of a Form, the Form must be at a Custom size, otherwise the result may be unexpected.
{% endhint %}

{% hint style="info" %}
In Win32 clients setting text alignment in Combobox may not work if **Advanced Style** is not active.
{% endhint %}
