Quickstart

Return to Introduction  Previous page  Next page

Follow these steps  to implement an Icetips OutlookBar in your application:

 

 

Add the global template

 

Do-it Open your application (or create a new one)

 

Do-it Press the "Global"-options button (GlobalOptionsBtn)

 

Do-it Click the "Extensions"-button

 

Do-it Click the "Insert"-button

 

Do-it Choose the "POOutlookBarGlobal - Icetips OutlookBar Global"-template

 

ChoseGlobalTpl

Do-it Press "Ok" two times to get back to the application

 

 

Populate the control

 

Do-it Create a Window

 

Do-it Populate "OutlookBar" control template by clicking the

  PopulateControl

Do-it Choose the "POOutlookBar - Icetips OutlookBar Control"-template

 

ChoseControlTpl

Do-it Place the control somewhere on you window and adjust the size.

   

Do-it Right-click on the control and choose "Actions".

   

Prcarrow Now, press the "Insert"-button to bring up the "Header Editor".

    QS_Header

    (Header settings)

 

Bullet In the "Title"-field, enter "Header 1" (without the quotes)

 

Prcarrow Switch to the "Style tab"

   QS_Header_Style

 

Bullet If you'd like an icon in the header, press the elipsis-button (...) to right of the icon-field, and choose an .ico-file.

 

 

Do-it Now, switch to the "Tasks" tab and click "Insert" to add a task.

   QS_Task

   (Task settings)

 

Bullet Enter "Task 1" in the "Title"-field

Bullet For this task, choose "No Special Action" as "Action" on the "Action"-tab

Bullet Click "Ok" to add the Task

 

Do-it Click "Insert" to add another task

Bullet Title: Quit

Bullet Action: Post Event

Bullet Event: EVENT:CloseWindow

Bullet Control:

 

Bullet Click "Ok" to add the Task

 

Do-it Click "Ok" three times to get back to the window formatter.

Bullet Save the window

 

Do-it Now, go to the embed-point "Local Objects -Onestep Outlookbar1 -Onestep Header_1 -Onestep My_First_Header:Task_1 -Onestep Before Generated Code", and enter the following code:

 

       Message('You selected task 1')

 

Do-it Save, compile and run your application.

 

  The result should look something like this (the left screenshot is with the style set to "Outlook2003", the right screenshot has style set to "OutlookXP"):

 

  

QS_Res1

QS_Res2

 

 

When you click on "Task 1" a message saying "You selected task 1" should appear.

 



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