Embed points |
The OutlookBar 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->Outlookbar1".
Init embeds
Embed point
Local Objects->Outlookbar1->Control Initialization->Control Init Code
This embed-point is executed right before the Outlookbar.Init() metod is called.
Header embeds
Embed points
Local Objects->Outlookbar1->Header_1->Header Clicked->Before Generated Code
Local Objects->Outlookbar1->Header_1->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 expaned, you can execute a return in the "Before Generated Code"-embed.
Task embeds
Embed points
Local Objects->Outlookbar1->Header_1->Task_1->Task Clicked->Before Generated Code
Local Objects->Outlookbar1->Header_1->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.
Execute Action embeds
Embed points:
Local Objects->Outlookbar1->Execute Action->Before Generated Code
Local Objects->Outlookbar1->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->Outlookbar1->Header1->Task Logic->Before Generated Code
Local Objects->Outlookbar1->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.