Please enable JavaScript to view this site.

A-Shell Development History

AUI_CONTROL enhancement: two new opcodes, CTLOP_TABSET (13) and CTLOP_TABCLR (14), for setting and clearing the MBF_TABSTOP property of a control:

xcall AUI, AUI_CONTROL, CTLOP_TABSET, ctlid     ! set MBF_TABSTOP for ctlid

xcall AUI, AUI_CONTROL, CTLOP_TABCLR, ctlid     ! clr MBF_TABSTOP for ctlid

AUI_EVENTWAIT should skip over controls that do not have the MBF_TABSTOP property when using the keyboard navigation controls.

Note: the rules for auto-initializing the MBF_TABSTOP property when creating new controls are a big vague; the new opcodes allow you to be explicit.

Also note: the control dump now contains a column making it more obvious which controls have the tabstop property (which show up with a numeric value of the control # offset by 5000). Currently there is no way to change this table order (which generally matches the order in which the controls were created), but it may be added in a subsequent update.