CLEARWIN_INFO@ parameters

In this section:

An extra CLEARWIN_INFO@ parameter has been added to help programs with several edit boxes.

'ACTIVE_EDIT_BOX' returns the address of the EDIT_INFO array of the currently active edit box. Notice that this edit box might not have focus if, for example, the user had just moved to a menu item.

'EDIT_KEY' returns the ASCII value of the last key pressed. This information can be obtained in response to a return of 'DATA_ALTERATION' from CLEARWIN_STRING@('CALLBACK_REASON'). In order to activate this feature you must use the %eb[extended]. The call-back is called after the change has been made so you will need to use one of the above editing functions if you want to undo the key press.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited