User Tools

Site Tools


clearkeycode_clear_keycode_character_.htm
Navigation:  ABC Library Reference > PopupClass > PopupClass Properties >====== ClearKeycode (clear KEYCODE character) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
ClearKeycode BYTE

blk2blue.jpg

The ClearKeycode property determines whether the PopupClass object clears the (MouseRight) value from the KEYCODE() “buffer” before invoking the selected menu item's action. A value of one (1 or True) sets the KEYCODE() “buffer” to zero; a value of zero (0 or False) leaves the KEYCODE() “buffer” intact. See KEYCODE and SETKEYCODE in the Language Reference for more information.

TipBox.jpg

The uncleared KEYCODE() value can cause the popup menu to reappear in some circumstances; therefore we recommend setting the ClearKeycode property to True.

Implementation:

The ABC Templates set the ClearKeycode property to True by default. The Ask method implements the action specified by the ClearKeycode property.

See Also:     Ask, Init

clearkeycode_clear_keycode_character_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1