Combo box in appointment form

Add-in Express™ Support Service
That's what is more important than anything else

Combo box in appointment form
 
Kristjan H




Posts: 27
Joined: 2005-10-29
I want to add 1 combo box to outlook appointment's toolbar thru a addin
Pls give me any advice how to accomplish this!

I need this to select customer from my table. Selected customer id should also saved to same appointment.

tnx

k
Posted 04 Oct, 2006 13:25:42 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Kristjan,

1. Add the TadxOLInspectorCommandBar component to your add-in module.
2. Set the ItemTypes property to [adxOLAppointment].
3. Add the TadxCommandBarComboBox component to the Controls collection.
4. Add your cusomer IDs to the Items property.

Posted 05 Oct, 2006 07:55:57 Top
Kristjan H




Posts: 27
Joined: 2005-10-29
Thanks, it worked very well.

How i could save selected customer id to this appointment item? for example to category field etc...


k
Posted 06 Oct, 2006 07:38:22 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Kristjan,

You can handle the OnChange event of your combo box and set the TadxCommandBarComboBox.Text property to the needed property of the AppointmentItem. Then you need to call the AppointmentItem.Save method.

Posted 20 Oct, 2006 08:31:31 Top