Please enable JavaScript to view this site.

KOL/MCK - User Guide

TabStop - determines whether the window object is contained in the general list of form objects that can receive focus when pressing the Tab and Shift + Tab keys (but by default, processing of these keys is not connected, this must be done additionally by your own code, see the Tabulate and TabulateEx methods for the form and applet);

TabOrder - determines the order of the windowed object in the list of objects that can sequentially receive keyboard input focus when pressing the Tab and Shift + Tab keys (see the note on the previous TabStop property);

LookTabKeys - a list of keys that can be used for tabulating between controls that have TabStop = true (usually the default list does not need to be changed, each type of window object can have its own list of such keys);

GotoControl(Key) - performs tabulation as if the specified key was pressed;

Focused - checks if the window object has captured the keyboard input focus, and allows this focus to be passed to the object window when this property is set to true;

DoSetFocus - this method tries to transfer the input focus to the window of this object (similar to assigning true to the Focused property), and returns a sign of the success of this operation;

OnEnter - an event that is triggered when the object window receives keyboard input focus;

OnLeave - the event inverse to OnEnter: fires when the object window loses keyboard focus and the focus moves to another application window (but this event does not fire when the entire application loses focus; to respond to such an event, you need to catch it, for example, in the OnMessage handler forms, message WM_ACTIVATE);

OnKeyDown - an event that is triggered for an object when a button is pressed on the keyboard, when the object window has the keyboard input focus. It is possible to perform some actions when pressing any keys, and reset the Key parameter, preventing further processing of this key;

OnKeyUp - similar to the previous one, but triggered when the pressed button is released;

OnChar - triggered when a typed character arrives from the keyboard. Because there are usually fewer buttons on the keyboard than can be entered printable characters, then pressing and releasing buttons are translated into printable characters in such a way that sometimes a key combination forms a character or several characters, depending on the installed equipment, on regional settings, the currently selected input language and etc. Just as it was done for the OnKeyDown event, in the OnChar event handler, it is also possible to set the Key parameter to # 0 when some characters are received, preventing further processing of these characters;

IgnoreDefault - if this property for a control is set to true, then when it is in focus from the keyboard, the <Enter> key does not cause the default button to be "pressed" (DefaultBtn);

 

KOL / MCK User Guide - Created by Carl Peeraer - Diamant Soft, based on the work of Vladimir Kladov - Artwerp.be

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Nav Header: ALT+n
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Exit Menu/Up: ESC