%ac - Accelerator Key

Purpose

To define an accelerator key.

Syntax

winio@('%ac[key_description]',cb_func)
external cb_func

Description

key_description is a standard character string (can be replaced by @ and a winio@ argument) that may include key words of the form: Ctrl, Shift, Alt, Esc, Del, Enter, Left, Right, Up, Down, PgUp, PgDn, Tab, Home, End, F1 etc.. Character keys must be combined with one or more of Ctrl, Shift and Alt, but Ctrl+Alt+character is reserved for use by the system.

Example

winio@('%ac[Ctrl+Shift+Del]',cb_func)

See also

%mn (Menu), add_accelerator@

 

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited