ICreate.Controls.Bars Send comments on this topic.
Using TaskBar

Glossary Item Box

TaskBar responds to a number of keystrokes and mouse gestures at runtime. This section describes the runtime behaviour of TaskBar. When TaskBar has focus, a focus rectangle is drawn around the currently active element. The active element can be one of the TaskBarItem components or the title Text. When a TaskBar has focus it responds to keystrokes. It is possible to suppress the display of the focus rectangle by setting the ShowFocus property false.

The table below details how TaskBar responds to keystrokes and mouse gestures.

Key press / Mouse gesture Operation
UP or LEFT key. Move focus to the previous TaskBar element. If the title Text already has focus then no action is taken.
DOWN or RIGHT key. Move focus to the next TaskBar element. If the last element already has focus then no action is taken.
ENTER key or SPACE bar If the title Text is the focused element then the TaskBar Collapsed property is toggled. If one of the TaskBarItems has focus then the TaskBar ItemSelected and BarItem Click events are raised.
CONTROL+UP keys The TaskBar Collapsed property is set true resulting in the TasbBar collapsing. This applies if either the title or a TaskBarItem has focus.
CONTROL+DOWN keys The TaskBar Collapsed property is set false resulting in the TaskBar expanding. This applies if either the title or TaskBarItem has focus.
LEFT CLICK If the click occurs on the title then the Collapsed property of the TaskBar is toggled. If the click occurs on a TaskBarItem then the item receives focus and the TaskBar ItemSelected and BarItem Click events raised.
RIGHT CLICK If the TaskBar has a ContextMenuStrip then it is displayed.
DRAG Drag and drop a TaskBarItem from its current location to a new one. During the drag operation, a drop location indicator is displayed.
Note that if the Form has an AcceptButton then pressing the enter key when any control has focus has the same effect as clicking the AcceptButton. This does not apply to TaskBar. If TaskBar has focus then pressing the enter key does not have the same effect as clicking on the AcceptButton and the TaskBar behaves as described in the table above.