Unit 'MUIClass.Base' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#MUIClass]

TMUIRootClass.GetStringValue

Get a MUI Value via Tag as String

Declaration

Source position: MUIClass.Base.pas line 75

protected function TMUIRootClass.GetStringValue(

  Tag: LongWord

):string; virtual;

Arguments

Tag

  

Field to get as Tag

Function result

Contents of the Field defined by Tag or an empty string if Object is not created.

Description

Get a Field Value via Tag as string Value from the internal MUI Object. If internal MUI object not created it will return a empty string (''). Would be a good idea to test HasObj before to make sure the object exists.

Example:

Text := ''; // when no object is there
if HasObj then
  Text := GetStringValue(MUIA_String_Contents); // Get intuition window structure

See also

MUIObj

  

The MUI Object if created

HasObj

  

Is the MUI Object created and can be used

SetValue

  

Set a MUI object Value via Tag

GetIntValue

  

Get a MUI Value via Tag as Integer

GetBoolValue

  

Get a MUI Value via Tag as Boolean

GetPointerValue

  

Get a MUI Value via Tag as Pointer

GetStringValue

  

Get a MUI Value via Tag as String


Documentation generated on: 2024-11-21