SETCONTROLNOTIFY |
Top Previous Next |
Syntax SETCONTROLNOTIFY win as WINDOW,id as INT,bTab as INT,bEnter as INT Description Turns control notification of enter and tab keys on or off. Parameters win - Window or dialog containing the control. id - Control identifier. bTab - TRUE to send @ENTABKEY notifications, FALSE otherwise. bEnter- TRUE to send @ENENTERKEY notifications, FALSE otherwise. Return value None Remarks Designed for edit controls placed in a Window but will work with other controls as well. @ENTABKEY and @ENENTERKEY are special notification codes sent in @NOTIFYCODE when enabled. By default both are disabled for compatibility with older code and controls used in a dialog where the enter and TAB keys have a different meaning. Example usage WINDOW win |