Please enable JavaScript to view this site.

KOL/MCK - User Guide

function NewButton( AParent: PControl; const Caption: KOLString ): PControl;

 

Creates button on given parent control or form. Please note, that in Windows, buttons can not change its Font color and to be Transparent .

 

Following methods, properies and events are (especially) useful with a button:

 

OnClick

property OnClick: TOnEvent;

SetButtonIcon

function SetButtonIcon( aIcon: HIcon ): PControl;

SetButtonBitmap

function SetButtonBitmap( aBmp: HBitmap ): PControl;

LikeSpeedButton

function LikeSpeedButton: PControl;

Click

procedure Click;

Caption

property Caption: KOLString;

DefaultBtn

property DefaultBtn: Boolean;

CancelBtn

property CancelBtn: Boolean;

TextAlign

property TextAlign: TTextAlign;

VerticalAlign

property VerticalAlign: TVerticalAlign;

 

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