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

TMUIRootClass.GetBoolValue

Get a MUI Value via Tag as Boolean

Declaration

Source position: MUIClass.Base.pas line 73

protected function TMUIRootClass.GetBoolValue(

  Tag: LongWord

):Boolean; virtual;

Arguments

Tag

  

Field to get as Tag

Function result

Contents of the Field defined by Tag, or False when MUI Object is not created.

Description

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

Example:

IsEnabled := False; // No enabled, when no object is there
if HasObj then
  IsEnabled := not GetBoolValue(MUIA_Disabled); // Get the field contents

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