Please enable JavaScript to view this site.

KOL/MCK - User Guide

In subsequent properties, you can successfully use both IDs and indexes to identify buttons. The value of the parameter indicates that we are talking about an identifier and not about an index. If it is less than 100, then it is the index that is meant. Hence the conclusion: the number of buttons on the ruler should not exceed 100. However, this limitation does not seem excessive to me.

TBButtonEnabled[i] - button "available";

TBButtonVisible[i] - the button is visible (when you hide the button, the buttons located to the right of it are shifted to its place);

TBButtonChecked[i] - the "depressed" button (it makes sense to use only for fixed buttons, which were created with the prefix '-' or '+');

TBButtonMarked[i] - the button is highlighted (this property can also be set to true or false);

TBButtonPressed[i] - the button is "pressed";

TBButtonText[i] - the text of the label on the button;

TBButtonImage[i] - the index of the icon for the button;

TBButtonSeparator[i] - the button is "dividing" (in fact, a narrower dividing strip is depicted - flat or depressed);

TBButtonRect[i] - returns the rectangle occupied by the button on the ruler;

TBButtonWidth[i] - returns (and allows to change) the width of the button;

TBButtonAtPos(X, Y) - returns the handle of the button located on the ruler at the point with the specified coordinates (value -1 is returned if there are no buttons at this point);

TBBtnIdxAtPos(X, Y) - similar to the previous method, but returns the button index;

TBMoveButton(i, j) - moves the button with index i to position j;

 

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