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

TMUIRootClass.GetIntValue

Get a MUI Value via Tag as Integer

Declaration

Source position: MUIClass.Base.pas line 72

protected function TMUIRootClass.GetIntValue(

  Tag: LongWord

):PtrInt; virtual;

Arguments

Tag

  

Field to get as Tag

Function result

Field Value as Integer or 0 if MUI Object is not created

Description

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

Example:

Page := -1; // Illegal Value as Default, when object is not created
if HasObj then
  Page := GetIntValue(MUIA_Group_ActivePage);

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-12-21