Locking a field

  • Thread starter Thread starter BRIAN PASTRE
  • Start date Start date
B

BRIAN PASTRE

I posted this on 06/19/2005 but have not received any responses. Is what I am asking possible?

Original Post:

I have a custom form that has a combo drop-down box, which has several selectable items. If the user selects a particular item from the drop-down list, I want to lock the next field. I have been able to accomplish this in HTML forms using the OnBlur or OnChange events, but I notice that there are no such events in vbscript for Outlook forms.

How would this be accomplished?

Thanks in advance.

Brian
 
The event you're looking for depends on whether the combo box is bound to an Outlook property. If it is, it's PropertyChange or CustomPropertyChange. If not, use the control's Click event. See http://www.outlookcode.com/d/propsyntax.htm

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



I posted this on 06/19/2005 but have not received any responses. Is what I am asking possible?

Original Post:

I have a custom form that has a combo drop-down box, which has several selectable items. If the user selects a particular item from the drop-down list, I want to lock the next field. I have been able to accomplish this in HTML forms using the OnBlur or OnChange events, but I notice that there are no such events in vbscript for Outlook forms.

How would this be accomplished?

Thanks in advance.

Brian
 
Never mind. I figured it out. I had to use Item_CustomPropertyChange(ByVal Name)

Thanks,

Brian
I posted this on 06/19/2005 but have not received any responses. Is what I am asking possible?

Original Post:

I have a custom form that has a combo drop-down box, which has several selectable items. If the user selects a particular item from the drop-down list, I want to lock the next field. I have been able to accomplish this in HTML forms using the OnBlur or OnChange events, but I notice that there are no such events in vbscript for Outlook forms.

How would this be accomplished?

Thanks in advance.

Brian
 
Back
Top