KCL Design System - TKclCompPalleteToolbar

MQY Studio

Version 1.00    

TKclCompPalleteToolbar

  TKclCompPalleteToolBar is the component to construct the Delphi-like Component Palette (like only, not "the same") tool bar. This control is often used together with TKclCompPalleteTab .

Unit

KclClassesMan

Hierarchy

TObject - TPersistent - TComponent -TControl - TWinControl - TToolWindow - TToolbar - TKclToolbar - TKclPalleteToolbar - TKclCompPalleteToolbar

Properties

  The classes you want to display on the Toolbar. This is the most important property of this component. At the initialization part of your program (for example, OnFormShow event), you should write:

AClassList.Images := ClassesImageList;
KclCompPalleteToolBar1.ClassList := AClassList;

Set ClassList property will also set Toolbar's Images property to ClassList.Images.
  Do remeber to set ClassList property before show the Toolbar.

  Current selected class on Toolbar.
  The "deselect arrow icon" (like the one in Delphi IDE) ToolButton.
  The ToolButton pressed down by the users, stands for a class.
  The class palette KclCompPalleteToolbar displays, such as 'Standard', 'Additional' and so on. Change this property to change the class ToolButtons on the Toolbar.

  When current Pallete property equals to PalleteAllStr, then all classes in ClassList will be displayed despite their palette belonged.
  Whether show "deselector arrow icon" on Toolbar.


Methods

  Deselect component class, on the Toolbar, the "deselector" will be down, other button will be all lifted up. 
  Refresh display.

Demos

DfmBuilder


MQY Studio 2002.12