Class tcustomdial

Unit

Declaration

type tcustomdial = class(tpublishedwidget, idialcontroller)

Description

This item has no description. Showing description inherited from tmsecomponent.

Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component. This unit, mseclasses, must be added to uses after classes in code that also uses a third-party unit expecting the plain FPC tcomponent (e.g. TPSScript.Create(TComponent)), since MSEgui forks the FPC classes unit.

Hierarchy

Overview

Methods

Protected procedure dopaintforeground(const acanvas: tcanvas); override;
Protected procedure clientrectchanged; override;
Protected procedure invalidatelayout;
Protected function checklayout: boolean; virtual;
Protected procedure layoutchanged;
Protected procedure directionchanged(const dir,dirbefore: graphicdirectionty);
Protected function getdialrect: rectty;
Protected function getlimitrect: rectty;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure paint(const acanvas: tcanvas); override;
Public function fit(const asides: rectsidesty = allrectsides): boolean;

Properties

Public property dial: tdialcontroller read fdial write setdial;
Public property fitframe: framety read ffitframe write setfitframe;
Public property fitframe_left: integer read ffitframe.left write setfitframe_left default 0;
Public property fitframe_top: integer read ffitframe.top write setfitframe_top default 0;
Public property fitframe_right: integer read ffitframe.right write setfitframe_right default 0;
Public property fitframe_bottom: integer read ffitframe.bottom write setfitframe_bottom default 0;
Public property options: optionsdialty read foptions write setoptions default defaultoptionsdial;
Published property color default cl_transparent;
Published property optionswidget default defaultoptionswidgetnofocus;

Description

Methods

Protected procedure dopaintforeground(const acanvas: tcanvas); override;

This item has no description.

Protected procedure clientrectchanged; override;

This item has no description.

Protected procedure invalidatelayout;

This item has no description.

Protected function checklayout: boolean; virtual;

This item has no description.

Protected procedure layoutchanged;

This item has no description.

Protected procedure directionchanged(const dir,dirbefore: graphicdirectionty);

This item has no description.

Protected function getdialrect: rectty;

This item has no description.

Protected function getlimitrect: rectty;

This item has no description.

Public constructor create(aowner: tcomponent); override;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public procedure paint(const acanvas: tcanvas); override;

This item has no description. Showing description inherited from twidget.paint.

invalidate (called automatically, e.g. by setcaption) adds the widget's client area to its window's update region; once the main event queue is empty, the update regions of all windows are painted, widget by widget, bottom-up in z-order, by paint. If the widget's color is not cl_transparent, the area is first filled with that color; then, if active, frame is painted (filling its own client area with colorclient if that is not cl_transparent), then, if active, face; the widget's own content (e.g. a caption) is painted last, on top of that background. When code changes a widget's widgetrect directly rather than through a property that does it automatically, it must invalidate the old widgetrect before the change and the new one after, so both the vacated and the newly covered area get repainted.

Public function fit(const asides: rectsidesty = allrectsides): boolean;

This item has no description.

Properties

Public property dial: tdialcontroller read fdial write setdial;

This item has no description.

Public property fitframe: framety read ffitframe write setfitframe;

This item has no description.

Public property fitframe_left: integer read ffitframe.left write setfitframe_left default 0;

This item has no description.

Public property fitframe_top: integer read ffitframe.top write setfitframe_top default 0;

This item has no description.

Public property fitframe_right: integer read ffitframe.right write setfitframe_right default 0;

This item has no description.

Public property fitframe_bottom: integer read ffitframe.bottom write setfitframe_bottom default 0;

This item has no description.

Public property options: optionsdialty read foptions write setoptions default defaultoptionsdial;

This item has no description.

Published property color default cl_transparent;

This item has no description.

Published property optionswidget default defaultoptionswidgetnofocus;

This item has no description.


Generated by PasDoc 1.0.4.