Microsoft DT Picker for dates

L

lywong

Hi, My company Outlook does not have the DT Picker installed. Is ther
anyway I can get that add-in downloaded from the site?

In addition, I have a combo box bound to a custome field in a form tha
I do not allow user to edit or type in new items. User can only selec
whatever item that is in the combox box. I have tried the read onl
option but once I checked it, I cant even select the combox box item.

Pls advice. Thank
 
K

Ken Slovak - [MVP - Outlook]

The DTPicker is an OCX (ActiveX control), not an addin. It's available with
Visual Studio 6 and I think with Office Developer. Other than that you'd
need to get some 3rd party calendar control. See
http://www.outlookcode.com/d/datepick.htm for some options.

If you lock a control the user can't select anything in it. The easiest
thing would probably be to use a listbox control or a combobox set to work
like a listbox. That wouldn't allow the user to enter new entries or edit
the existing entries. Other than that one method you could use would be to
trap CustomPropertyChange and restore the combobox to it's default contents
if that control's values are changed.
 
L

lywong

Hi Ken,
I have oso tried the drop down list. It does appear to be working, bu
it do not display the correct item as when I reopen a saved form item
When reopen a form that have saved item, the combo box will alway
display the first item in the list instead of the saved item.

Pls advice again. Thanks
 
L

lywong

Hi Ken,
I have oso tried the drop down list. It does appear to be working, bu
it do not display the correct item as when I reopen a saved form item
When reopen a form that have saved item, the combo box will alway
display the first item in the list instead of the saved item.

Pls advice again. Thanks
 
K

Ken Slovak - [MVP - Outlook]

Please post some of the thread so we can follow it. The interface you are
using doesn't do that and it makes it very hard to follow a thread.

If you have a combo or list that has multiple values in it then after you
populate the control you still have to set which list member you want shown
in it at startup. It's not automatic. You would get the index of the member
you want selected by default and set the ListIndex property of the control
to the index of that member.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top