fgl_setkeystatic()

fgl_setkeystatic() allows for the inclusion of persistent (static) toolbar items. Such icons will appear as disabled if their associated keypress has not been assigned. This function modifies the toolbar on a global scale.

The function takes two parameters – the name of the key and a Boolean value representing whether it is static or not. The default value for this function is false, meaning keys are not automatically static, and disappear when not assigned to an event.

To make the F1 key appear in the dynamic toolbar even when its event isn’t defined:

CALL fgl_setkeystatic("F1", "TRUE")

The dynamic toolbar should now always display the label F1. However it would appear disabled if the key hadn’t been assigned an event.

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.