Task Settings

Return to Introduction  Previous page  Next page

 

Task settings

 

Title

This is the text that will be shown on screen. 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.

 

Visible

Controls the visibillity upon window open.

 

Bold

If checked the task text will be draw bold.

 

Tpl_Tsk_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 Button" is selected, the tasks title will be extracted from the button (using PROP:Text). If "Mimic Button" is not selected, the title specified for the task will be used.

 

If the "Don't mimic icon" option is checked and the mimiced button has no compile time icon name, Button{PROP:Icon} is used instead. If "Don't mimic icon" is unchecked the icon-name is extracted from the button (STD-icons are not supported). Otherwise the icon specified for the task is used.

 

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.

 

 

Tpl_Tsk_Action

 

 

Style

 

Icon

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

 

Use custom disabled icon

If you check this option, you can specify an icon to use when the task is disabled. Otherwise a "grayed" version of the normal icon will be used.

Tpl_Tsk_Style

 

 



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