Unit 'kgraphics' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#pl_kcontrols]

TKTextBox

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: kgraphics.pas line 426

type TKTextBox = class(TObject)

protected

  FCanvas: TCanvas;

  

  FClipRect: TRect;

  

  FFontHeight: Integer;

  

  FHasTabs: Boolean;

  

  FIndex: Integer;

  

  FCalcRect: TRect;

  

  function GetHorzPos();

  

  function GetVertPos; virtual;

  

  procedure Initialize(); virtual;

  

  procedure Process();

  

  procedure TextTrim(); virtual;

  

public

  constructor Create;

  

  procedure Draw(); virtual;

  

  function IndexToRect(); virtual;

  

  procedure Measure(); virtual;

  

  function PointToIndex(); virtual;

  

  class function TextExtent();

  

  class procedure TextOutput();

  

  property Attributes: TKTextAttributes; [rw]

  

  property BackColor: TColor; [rw]

  

  property HAlign: TKHAlign; [rw]

  

  property HPadding: Integer; [rw]

  

  property SelBkgnd: TColor; [rw]

  

  property SelColor: TColor; [rw]

  

  property SelEnd: Integer; [rw]

  

  property SelStart: Integer; [rw]

  

  property SpacesForTab: Integer; [rw]

  

  property Text: TKString; [rw]

  

  property VAlign: TKVAlign; [rw]

  

  property VPadding: Integer; [rw]

  

end;

Inheritance

TKTextBox

  

|

TObject



CT Web help

CodeTyphon Studio