Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## HonorReturnKey property

> Determines who processes the RETURN key: Progress, or the ActiveX control to which the property applies.

> Data type: LOGICAL

> Access: Readable/Writeable

> Applies to: Any ActiveX control

> If the property is TRUE, Progress intercepts the key and processes it as a normal Progress RETURN key event. If the property is FALSE, which is the default, the keystroke is sent to the ActiveX control for processing.

> #### Notes

> - If a frame has a default button and an ActiveX control, and you want the RETURN key to activate the default button regardless of who has focus, you must set the HonorReturnKey property of the ActiveX control to TRUE. Similarly, if a frame has a default button and several ActiveX controls, and you want the RETURN key to activate the default button regardless of who has focus, you must set the HonorReturnKey property of all the ActiveX controls in the frame to TRUE.

> - This property resembles the HonorProKeys property, which governs processing of several other keys, but whereas the default setting for HonorReturnKey is FALSE (the ActiveX control gets the event), the default setting for HonorProKeys is TRUE (Progress gets the event).

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095