Embed points

Return to Introduction  Previous page  Next page

The Taskpanel control template generates several embed points. With theese embed-points you can control actions and the behaviour of the control with your own customized sourcecode.

 

Have a look at the Class reference for a list of available functions.

 

All embed points is generated under "Local Objects-><object name>". For instance "Local Objects->XPTaskpanel1".

 

 

Header embeds

 

Embed points

Local Objects->XPTaskpanel1->Header1->Header Clicked->Before Generated Code

Local Objects->XPTaskpanel1->Header1->Header Clicked->After Generated Code

 

Available properites

HeaderID        - The unique ID of the header beeing clicked

MouseBtn        - Mouse button that activated the header

 

Theese embed points are executed everytime a header is clicked. If you want to avoid the header beeing contracted or expaned, you can  execute a return in the "Before Generated Code"-embed.

 

 

Task embeds

 

Embed points

Local Objects->XPTaskpanel1->Header1->Task_1->Task Clicked->Before Generated Code

Local Objects->XPTaskpanel1->Header1->Task_1->Task Clicked->After Generated Code

 

Available properites

HeaderID        - The unique ID of the parent header of the task beeing clicked

TaskID                - The unique ID of the task beeing clicked

MouseBtn        - Mouse button that activated the header

 

Embeds are executed whenever a task is clicked. You can avoid any action beeing executed by doing a return in the "Before Generated Code"-embed.

 

 

Init embeds

 

Embed points:

Local Objects->XPTaskpanel1->Init->Before Generated Code

Local Objects->XPTaskpanel1->Init->Before Parent Call

Local Objects->XPTaskpanel1->Init->After Generated Code

 

Available properties:

nControl        - The XPTaskpanel control's Feq.

 

Embededed code is execute when the taskpanel is beeing initialized (right after window opening)

 

 

Execute Action embeds

 

Embed points:

Local Objects->XPTaskpanel1->Execute Action->Before Generated Code

Local Objects->XPTaskpanel1->Execute Action->After Generated Code

 

Availale properties:

HeaderID        - The unique ID of the parent header of the task beeing clicked

TaskID                - The unique ID of the task beeing clicked

MouseBtn        - Mouse button that activated the header

 

Theese embeds are executed every time a task or header is clicked.

 

 

Task logic embeds

 

Embed points:

Local Objects->XPTaskpanel1->Header1->Task Logic->Before Generated Code

Local Objects->XPTaskpanel1->Header1->Task Logic->After Generated Code

 

Availale properties:

HeaderID        - The unique ID of the parent header of the task beeing clicked

TaskID                - The unique ID of the task beeing clicked

MouseBtn        - Mouse button that activated the header

 

Embedpoints are called just before and after a task in this header has been clicked.

 



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