Draw

Kalipso - Developing - Form - Controls - Type - Draw

A Draw is an editable frame. You can edit this frame in runtime by literally drawing in it. You can draw freely, draw text, predefined shapes or load image files into it. A Draw can interact with the user through its Events. Value - It has no value.

Properties

Tab - General

Common

  • Name – Name of the Control. This Name will be used to identify the Control throughout the Project. The name of the Control can only contain letters, digits or underscore (_).

  • Text – Text to be displayed in the Control

  • Description - Not applicable to this control.

  • Plane – Plane of the Form where the Control should be created. Check the Planes chapter for more information.

  • Visible - With this option selected, the control is (or is not) visible.

  • Enabled - With this option selected, the control is (or is not) enabled. It may be visible (previous option), but it may not be enabled. In this case an event associated with the control is not executed.

Layout

  • X - x position of the Control from left

  • Y - y position of the Control from top

  • Width - Width of the Control.

  • Height - Height of the Control

In relation to all these layout options, it is possible to set this value in runtime via the “Set Property” Action. You can also retrieve this value in runtime via the “Get Property” Action.

Style

Appearance

  • Background - Background color of the Control. You can set the color for the background.

  • Opacity - Set the percentage of opacity for the background.

You can set this value is runtime via the “Set Property” Action. You can retrieve this value in runtime via the “Get Property” Action.

On the right side of the Style section, you can choose templates with pre-defined styles or configurable ones. By clicking on this option, the following style possibilities appear:

  • Styles

    • None

    • Base

Border

  • Border - Yes or No

Tab - Actions

For each control, actions can be associated. For this, with the control selected, it is possible to access this tab and associate an action to the control. For more information on the actions available and how to use them click here.‌

Shortcuts

  • F2 - Actions

  • F3 - General Properties

Last updated