[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Show a Pen as Color field
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; |
|
Show a Pen as Color field |
|
| | ||
|
Super class for every other MUI class except windows and applications |
|
| | ||
|
Subclass of TNotify to introduce the Parent relation |
|
| | ||
|
Notify class is superclass of all other MUI classes. |
|
| | ||
|
Base class for all MUI Class |
|
| | ||
TObject |
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.
|
Colored Button with Dialog to choose a Color/Pen |