Task Settings

Return to Introduction  Previous page  Next page

 

Task settings

Title

This is the text that will be shown onscreen. If you would likt to use a variable, just prefix the variable name with '!' (without the quotes)

 

ID

Each task need a unique identifier. This ID will be used by the template when generating embed-points. If you change the ID after inserting embedded code, this will become orphaned. A LONG-variable in  the class will be generated. This LONG will be automatically set runtime, and can be used for calls to class-methods.

 

Tooltip

The tooltip for this task. Tooltip text accepts linefeeds (<13,10>).

 

Visible

Controls the visibillity upon window open

 

Enabled

If unchecked, the text will not be clickable.

 

TplT_Main

 

Action

Action

Specifies the type of action for this task. Each type brings up different options:

 

No Special Action

Do nothing. You should use one (or several) of the embed-points to hand code some action.

 

Call Procedure

Call a prodecure directly. The settings are just as the standard Clarion "Call Procedure" .

 

Mimic button

Hides the task when the button specified in "Control" is disabled. If the button is enabled, then the task is visible. If the PROP:Text of the button is changed, this will also be reflected in the taskpanel. Use "mimic button" to add browse-control in your taskpanel (refer the example-application).

 

When "Mimic Text" is checked, the tasks title will be extracted from the button (using PROP:Text). If "Mimic Text" is unchecked, the title specified for the task will be used.

 

If the "Mimic icon" option is checked, the icon-name is extracted from the button (STD-icons are not supported). Otherwise the icon specified for the task is used. If "Mimic icon" is checked and the mimiced button got no compiletime iconname, Button{PROP:Icon} is used instead.

 

Post Event

Posts the specified event. If you specify "Control" the event will be posted to this event. You can also specify which thread should reveice the event.

 

Select Tab

Activate a Tab-control. Just choose the Tab-control you want to activate (bring to front). When this action is executed, EVENT:TabChanging will be posted to the parent Sheet.

 

Set Field Value

Assign a value to a variable. The Value field could be any valid  Clarion expression/assignment.

 

 

TplT_Action

 

Style

Icon

Name of  the icon. You can use a variable by prefixing the variablename with '!' (wihtout the quotes)

 

Justification

Text justification

 

Bold

If checked, the task's text will be draw with bold font

 

 

TplT_Style

 



Direct link to this page on our website: http://www.icetips.com/manuals/xptaskpanel/tasksettings.htm