Unit 'MUIClass.Area' Package
[Overview][Types][Classes][Procedures and functions][Index] [#MUIClass]

TMUIPenDisplay

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

Show a Pen as Color field

Declaration

Source position: MUIClass.Area.pas line 309

type TMUIPenDisplay = class(TMUIArea)

protected

  procedure GetCreateTags(); override;

  

Fill Tag list for PenDisplay creation

  procedure AfterCreateObject; override;

  

Connects events after MUI item is created

public

  constructor Create; override;

  

Creates a PenDisplay Object

  procedure CreateObject; override;

  

Creates the MUI item

  procedure SetColormap();

  

Switch the pendisplay object to a specific colormap entry.

  procedure SetMUIPen();

  

Switch the pendisplay object to a specific MUI pen (MPEN_SHINE, MPEN_SHADOW, ...)

  procedure SetRGB();

  

Switch the pendisplay object to an RGB value.

  procedure SetRGB8();

  

Switch the pendisplay object to an RGB value as byte values.

  property Pen: LongWord; [r]

  

Used Pen for this item

  property Spec: PMUI_PenSpec; [rw]

  

Defines the color/pen to show

published

  property OnSpecChange: TNotifyEvent; [rw]

  

Color definition was changed

end;

Inheritance

TMUIPenDisplay

  

Show a Pen as Color field

|

TMUIArea

  

Super class for every other MUI class except windows and applications

|

TMUIWithParent

  

Subclass of TNotify to introduce the Parent relation

|

TMUINotify

  

Notify class is superclass of all other MUI classes.

|

TMUIRootClass

  

Base class for all MUI Class

|

TObject

Description

Pendisplay class takes a struct PMUI_PenSpec and displays it. Its main use is to be sub-classed by Poppen class which adds a popup window to adjust the PMUI_PenSpec. PopPen class should be used by every application that allows users to configure custom drawing pens.

See also

PopPen

  

Colored Button with Dialog to choose a Color/Pen


Documentation generated on: 2024-11-21