Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

tab-to-next

Arguments: widget &optional previous-p

Moves the keyboard focus to the control that comes just after the specified control in the dialog's tab order. If previous-p is true, then the focus goes instead to the previous control in the tab order. When this would result in moving the focus past the last widget or before the first widget, then the focus movement "wraps" to the control at the other end of the tab order.

When defining a custom lisp-widget, the widget will not automatically know to tab to the next or previous widget when the tab key (or shift-tab) is pressed. To make this happen, a virtual-key-down method for the control should call tab-to-next when the data argument is either vk-tab (for tabbing forward) or vk-backtab (for tabbing backward). (It's an anomaly that a shift-tab gesture is denoted as vk-backtab rather than (shift-key vk-tab).


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version