[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'msegui' (#msegui)

twidget

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

Declaration

Source position: msegui.pas line 1652

type twidget = class(tactcomponent, iscrollframe, iface, iassistiveclient)

public

  constructor create();

  constructor createandinit(); overload;

  destructor destroy; override;

  procedure afterconstruction; override;

  procedure initnewcomponent(); override;

  procedure initnewwidget(); virtual;

  procedure createframe;

  procedure createface;

  procedure createfont;

  procedure createfontempty;

  procedure checkautosize;

  procedure updatehotkeys; virtual;

  function isloading;

  procedure beginupdate;

  procedure endupdate;

  function canmouseinteract;

  function canassistive; virtual;

  function widgetstate;

  property widgetstate1: widgetstates1ty; [r]

  function hasparent; override;

  function getparentcomponent; override;

  function hascaret;

  function canwindow;

  function windowallocated;

  function ownswindow;

  function updaterect;

  procedure beforeclosequery(); virtual;

  function canclose(); virtual;

  function canparentclose();

  function forceclose;

  function canfocus; virtual;

  function setfocus(); virtual;

  procedure parentfocus;

  procedure nextfocus;

  function findtabfocus();

  function firsttabfocus;

  function lasttabfocus;

  function nexttaborder();

  function focusback(); virtual;

  function parentcolor;

  function actualcolor; virtual;

  function actualopaquecolor; virtual;

  function backgroundcolor;

  function translatecolor();

  procedure widgetevent(); virtual;

  procedure sendwidgetevent();

  procedure release(); override;

  function show();

  procedure endmodal;

  procedure hide;

  procedure activate(); virtual;

  procedure bringtofront;

  procedure sendtoback;

  procedure stackunder();

  procedure paint(); virtual;

  procedure update; virtual;

  procedure scrollwidgets();

  procedure scrollrect();

  procedure scroll();

  procedure clampinview(); virtual;

  procedure getcaret;

  procedure scrollcaret();

  function mousecaptured;

  function capturemouse();

  procedure releasemouse();

  function capturekeyboard;

  procedure releasekeyboard;

  procedure synctofontheight; virtual;

  procedure dragevent(); virtual;

  procedure dolayout(); virtual;

  procedure invalidatewidget;

  procedure invalidate;

  procedure invalidaterect();

  procedure invalidateframestate;

  procedure invalidateframestaterect();

  function hasoverlappingsiblings();

  function window;

  function rootwidget;

  function parentofcontainer;

  property parentwidget: twidget; [rw]

  function getrootwidgetpath;

  function widgetcount;

  function parentwidgetindex;

  function indexofwidget();

  function checkdescendent();

  function checkancestor();

  function containswidget();

  property widgets []: twidget; [r]

  function widgetatpos();

  property container: twidget; [r]

  function containeroffset;

  function childrencount; virtual;

  function visiblechildrencount;

  property children []: twidget; default; [r]

  function findtagchild();

  function findchild();

  function childatpos(); virtual;

  function gettaborderedwidgets;

  function getvisiblewidgets;

  function getcornerwidget();

  function getsortxchildren();

  function getsortychildren();

  function getlogicalchildren; virtual;

  procedure addlogicalchildren();

  function findlogicalchild();

  property focusedchild: twidget; [r]

  property focusedchildbefore: twidget; [r]

  function enteredchild;

  function mouseeventwidget();

  procedure insertwidget();

  function iswidgetclick();

  function iswidgetdblclick();

  function iswidgetdblclicked();

  function isclick();

  function isdblclick();

  function isdblclicked();

  function isleftbuttondown();

  function widgetmousepos();

  function rootpos;

  function rootwidgetrect;

  property screenpos: pointty; [rw]

  function clientpostowidgetpos();

  function widgetpostoclientpos();

  function widgetpostopaintpos();

  function paintpostowidgetpos();

  procedure scale(); virtual;

  property widgetrect: rectty; [rw]

  function widgetscreenrect;

  function widgetclientrect;

  property pos: pointty; [rw]

  property size: sizety; [rw]

  property minsize: sizety; [rw]

  function widgetminsize;

  function widgetmaxsize;

  property maxsize: sizety; [rw]

  function maxclientsize; virtual;

  function minscrollsize;

  function minshrinksize;

  property bounds_x: Integer; [rw]

  property bounds_y: Integer; [rw]

  property bounds_cx: Integer; [rws]

  property bounds_cy: Integer; [rws]

  property bounds_cxmin: Integer; [rw]

  property bounds_cymin: Integer; [rw]

  property bounds_cxmax: Integer; [rw]

  property bounds_cymax: Integer; [rw]

  property left: Integer; [rw]

  property right: Integer; [rw]

  property top: Integer; [rw]

  property bottom: Integer; [rw]

  property width: Integer; [rw]

  property height: Integer; [rw]

  procedure setclippedwidgetrect();

  property anchors: anchorsty; [rw]

  property defaultfocuschild: twidget; [rw]

  function framedim;

  function framedimnoscrollbar;

  function clientframewidth;

  function innerclientframewidth;

  function innerframewidth;

  function framerect;

  function framepos;

  property framesize: sizety; [rw]

  property framewidth: Integer; [rw]

  property frameheight: Integer; [rw]

  function frameinnerrect;

  function paintrect;

  function paintclientrect;

  function paintpos;

  property paintsize: sizety; [rw]

  property paintwidth: Integer; [rw]

  property paintheight: Integer; [rw]

  function clippedpaintrect;

  function innerpaintrect;

  procedure setanchordwidgetsize();

  function widgetsizerect;

  function paintsizerect;

  function clientsizerect;

  function containerclientsizerect;

  property clientrect: rectty; [r]

  procedure changeclientsize();

  property clientsize: sizety; [rw]

  property clientwidth: Integer; [rw]

  property clientheight: Integer; [rw]

  property clientpos: pointty; [r]

  function clientwidgetrect;

  function clientwidgetpos;

  function clientparentpos;

  property parentclientpos: pointty; [rw]

  function paintparentrect;

  function paintparentpos;

  function parentpaintpos;

  function refpos();

  function paintrectparent;

  function clientrectparent;

  function innerparentrect;

  function innerwidgetrect;

  function innerclientrect;

  function innerclientsize;

  function innerclientpos;

  function innerclientframe;

  function innerclientpaintpos;

  function innerclientwidgetpos;

  procedure innertopaintsize();

  procedure outertopaintsize();

  procedure painttowidgetsize();

  procedure widgettopaintsize();

  property frame: tcustomframe; [rw]

  property face: tcustomface; [rw]

  function getcanvas();

  function showing;

  function isenabled;

  function active;

  function entered;

  function activeentered;

  function activefocused;

  function focused;

  function clicked;

  procedure changedirection(); virtual;

  procedure placexorder();

  procedure placeyorder();

  function alignx();

  function aligny();

  property optionswidget: optionswidgetty; [rw]

  property optionswidget1: optionswidget1ty; [rw]

  property optionsskin: optionsskinty; [rw]

  function actualcursor(); virtual;

  property cursor: cursorshapety; [rw]

  property color: colorty; [rw]

  property visible: Boolean; [rw]

  property enabled: Boolean; [rw]

  property taborder: Integer; [rw]

  property hint: msestring; [rws]

  property zorder: Integer; [rw]

published

  property onnavigrequest: navigrequesteventty; [rw]

  property skingroup: Integer; [rw]

  property onbeforeupdateskin: notifyeventty;

  property onafterupdateskin: notifyeventty;

end;

Inheritance

twidget,iscrollframe,iface,iassistiveclient

|

tactcomponent,iactivatorclient

|

tmsecomponent,ievent,iificommand,iificlient

|

tcomponent

?

TObject


Documentation generated on: 2021-05-13