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

TMUIPopString.StringObj

Specify the string object to be used in the popup.

Declaration

Source position: MUIClass.PopString.pas line 50

published property TMUIPopString.StringObj : TMUIString
  read FString
  write SetString;

Description

This does not necessarily need to be a real string object, using text objects or even complete groups of other objects is perfectly ok.

When the popstring object is disposed, the string and the button objects are disposed as well.

Example:

with TMUIPopList.Create do
begin
  StringObj := TMUIString.Create; // the string/edit component
  Button := TMUIPopButton.Create; // the Button to open the popup
  OnOpen := @PopOpen;             // Event for open the Popup
  OnClose := @PopClose;           // Event for closing the popup
  Parent := Self;
end;

See also

TMUIButton

  

Short cut to create a simple Button


Documentation generated on: 2024-11-21