M
Michael fuerst
On a Outlook form, when a control associated with a custom property
changes,
Sub Item_CustomPropertyChange is invoked. If the code in this Sub
determines that the entered value is invalid, how can focus be made to
remain on the offending control? I tried w/i Sub
Item_CustomPropertyChange the statement
Item.GetInspector.ModifiedFormPages("Message").Controls("control_name").SetFocus
but that did not work.
The SetFocus statement works correctly within the Item_Send function,
but I'm trying to catch bad input when the user completes the field.
changes,
Sub Item_CustomPropertyChange is invoked. If the code in this Sub
determines that the entered value is invalid, how can focus be made to
remain on the offending control? I tried w/i Sub
Item_CustomPropertyChange the statement
Item.GetInspector.ModifiedFormPages("Message").Controls("control_name").SetFocus
but that did not work.
The SetFocus statement works correctly within the Item_Send function,
but I'm trying to catch bad input when the user completes the field.