Unit 'MUIClass.Group' Package
[Overview][Classes][Index] [#MUIClass]

TMUIListView

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

ListView attaches a scrollbar and input handling to a List.

Declaration

Source position: MUIClass.Group.pas line 68

type TMUIListView = class(TMUIGroup)

protected

  procedure GetCreateTags(); override;

  

Fill TagList for MUI item creation

  procedure AfterCreateObject; override;

  

Connect events after MUI item creation

public

  constructor Create; override;

  

Create a ListView object

  destructor Destroy; override;

  

Destroys Listview Object, usually not needed

  procedure CreateObject; override;

  

Create the MUI item

  procedure DestroyObject; override;

  

Destroys the MUI item, usually no need to call directly

  procedure ClearObject; override;

  

Clear MUI item, when destroyed by it's parent, usually no need to call directly

  property ClickColumn: Integer; [r]

  

Number of the column where the user clicked.

published

  property DefClickColumn: Integer; [rw]

  

Define ClickColumn when Enter is pressed

  property DragType: Integer; [rw]

  

Define/Enable Drag'n'Drop style

  property Input: Boolean; [rw]

  

[i] List accepts Input or is ReadOnly

  property List: TMUIList; [rw]

  

Every listview needs a list object defined here as child.

  property MultiSelect: Integer; [rw]

  

[i] Configure Multi Select Feature

  property ScrollerPos: Integer; [rw]

  

[i] Specifies the position of a listviews scrollbar.

  property OnSelectChange: TNotifyEvent; [rw]

  

Event when selected Entry is changed

  property OnClick: TNotifyEvent; [rw]

  

Event when an Entry is clicked

  property OnDoubleClick: TNotifyEvent; [rw]

  

Event when an Entry is double clicked

end;

Inheritance

TMUIListView

  

ListView attaches a scrollbar and input handling to a List.

|

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

It's important to know that MUI makes a difference between a List and a listview. A List is just a collection of some entries and is part of a listview, which attaches a scrollbar and input handling to the List.

See also

List

  

List of items drawn as text list


Documentation generated on: 2024-12-21