# Set Property

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

Action available for the following operating systems:

![](/files/-MAlQBZuuTnc6hyzKSVQ)

### 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/form/actions/actions-description/group-controls/set-property.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
