Class timage

Unit

Declaration

type timage = class(tscrollingwidget)

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 paintbmp(const acanvas: tcanvas; const abmp: tmaskedbitmap; const dest: rectty);
Protected procedure dopaintforeground(const canvas: tcanvas); override;
Protected function calcminscrollsize: sizety; override;
Protected procedure internalcreateframe; override;
Protected procedure getautopaintsize(var asize: sizety); override;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure changed; virtual;

Properties

Published property bitmap: tmaskedbitmap read fbitmap write setbitmap;
Published property colorforeground: colorty read fcolorforeground write setcolorforeground default cl_black;
Published property colorbackground: colorty read fcolorbackground write setcolorbackground default cl_white;
Published property optionswidget default defaultimageoptionswidget;
Published property onmouseevent;
Published property onclientmouseevent;
Published property onchildmouseevent;
Published property onmousewheelevent;
Published property onkeydown;
Published property onkeyup;
Published property onbeforepaint;
Published property onpaintbackground;
Published property onpaint;
Published property onafterpaint;

Description

Methods

Protected procedure paintbmp(const acanvas: tcanvas; const abmp: tmaskedbitmap; const dest: rectty);

This item has no description.

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

This item has no description.

Protected function calcminscrollsize: sizety; override;

This item has no description.

Protected procedure internalcreateframe; override;

This item has no description.

Protected procedure getautopaintsize(var asize: sizety); override;

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 changed; virtual;

This item has no description.

Properties

Published property bitmap: tmaskedbitmap read fbitmap write setbitmap;

To load an image at runtime with bitmap.loadfromfile, add the unit implementing the wanted format to uses first — e.g. mseformatbmpico, mseformatjpg, mseformatpng, mseformatpnm, mseformattga or mseformatxpm (unit msegraphicstream lists the currently registered formats). To embed a fixed image at design time instead, assign it through the ellipse button next to bitmap in the object inspector, which stores it directly in the .mfm file.

Published property colorforeground: colorty read fcolorforeground write setcolorforeground default cl_black;

This item has no description.

Published property colorbackground: colorty read fcolorbackground write setcolorbackground default cl_white;

This item has no description.

Published property optionswidget default defaultimageoptionswidget;

This item has no description.

Published property onmouseevent;

This item has no description.

Published property onclientmouseevent;

This item has no description.

Published property onchildmouseevent;

This item has no description.

Published property onmousewheelevent;

This item has no description.

Published property onkeydown;

This item has no description.

Published property onkeyup;

This item has no description.

Published property onbeforepaint;

This item has no description.

Published property onpaintbackground;

This item has no description.

Published property onpaint;

This item has no description.

Published property onafterpaint;

This item has no description.


Generated by PasDoc 1.0.4.