Unit 'MUIClass.PopString' Package
[Overview][Types][Classes][Index] [#MUIClass]

TMUIPopObject

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

Popobject class takes a MUI object as parameter uses this one as popup.

Declaration

Source position: MUIClass.PopString.pas line 53

type TMUIPopObject = class(TMUIPopString)

protected

  procedure BeforeCreateObject; override;

  

Init Child MUI items before this MUI item is created.

  procedure GetCreateTags(); override;

  

Fill TagList for MUI item creation

  procedure AfterCreateObject; override;

  

Connect Events after MUI item creation

public

  constructor Create; override;

  

Create a PopObject object

  destructor Destroy; override;

  

Destroy the PopObject object

  procedure CreateObject; override;

  

Create the MUI item

  procedure DestroyObject; override;

  

Destroy the MUI object and all it's childs

  procedure ClearObject; override;

  

Parent destroyed the MUI item, just clear the MUIObj

published

  property Follow: Boolean; [rw]

  

Let the Popup follow it's parent (this object)

  property Light: Boolean; [rw]

  

Set the Popup Window border and titleless.

  property PopObject: TMUIArea; [rw]

  

[i] Specify the object to pop up.

  property Volatile: Boolean; [rw]

  

Close the Popup when the PopObject goes invisible

  property OnStrObj: TOpenPopEvent; [rw]

  

Before the popup opens, this event is called.

  property OnObjStr: TNotifyEvent; [rw]

  

When a popup is closed, this hook is called.

end;

Inheritance

TMUIPopObject

  

Popobject class takes a MUI object as parameter uses this one as popup.

|

TMUIPopString

  

Popstring class is the base class for creating so called popup objects.

|

TMUIGroup

  

Group class is responsible for the complete layout of a MUI window.

|

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

You can e.g. simply create a listview object with some entries and the popobject class will create a window around it and display it when the user hits the popup button.

Using this class instead of creating the popup windows yourself prevents you from having lots of problems. Think twice before deciding to make you own popups!


Documentation generated on: 2024-10-07