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

TMUIString

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

String Edit component

Declaration

Source position: MUIClass.Gadget.pas line 25

type TMUIString = class(TMUIArea)

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 String object

  procedure CreateObject; override;

  

Create the MUI item

  property BufferPos: Integer; [rw]

  

Position of Cursor in the string.

  property DisplayPos: Integer; [rw]

  

Position of first char in the Display (if text too long for the object)

published

  property Accept: string; [rw]

  

A string containing characters allowed as input for the string gadget.

  property AdvanceOnCR: Boolean; [rw]

  

Press Enter in the String object to move to next Item in the CycleChain

  property Contents: string; [rw]

  

Get and set a string gadgets contents.

  property Format: PtrInt; [rw]

  

Alignment of the input string.

  property IntegerValue: Integer; [rw]

  

Set/Get the contents of the String object as Integer Value

  property MaxLen: Integer; [rw]

  

[i] Setup the maximum length for the string gadget.

  property Reject: string; [rw]

  

A string containing characters that should not be accepted as input for the string gadget.

  property Secret: Boolean; [rw]

  

Replace Text by dots, for password edits

  property OnAcknowledge: TNotifyEvent; [rw]

  

Event when Edit in the String gadget was finished and the new Value was acknowledged (by pressing Enter)

  property OnContentsChange: TNotifyEvent; [rw]

  

Event triggered on every change of the Text in the Edit box.

end;

Inheritance

TMUIString

  

String Edit component

|

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

String class generates standard string gadgets with all editing facilities (clear, undo, etc.) enabled.


Documentation generated on: 2024-11-21