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

TMUIRootClass.SetValue

Set a MUI object Value via Tag

Declaration

Source position: MUIClass.Base.pas line 68

protected procedure TMUIRootClass.SetValue(

  Tag: LongWord;

  Value: PtrUInt

); virtual; overload;

procedure TMUIRootClass.SetValue(

  Tag: LongWord;

  Value: PtrInt

); virtual; overload;

procedure TMUIRootClass.SetValue(

  Tag: LongWord;

  Value: Boolean

); virtual; overload;

procedure TMUIRootClass.SetValue(

  Tag: LongWord;

  Value: Pointer

); virtual; overload;

Arguments

Tag

  

MUI Tag to set

Value

  

Value to set

Arguments

Tag

  

MUI Tag to set

Value

  

Value to set

Arguments

Tag

  

MUI Tag to set

Value

  

Value to set

Arguments

Tag

  

MUI Tag to set

Value

  

Value to set

Description

Set a Field Value via Tag and Value as in a Taglist to the internal MUI Object. If internal MUI object not created will be ignored. Would be a good idea to test HasObj before to make sure the object exists.

Example:

if HasObj then // Check if the MUI object is asigned
  SetValue(MUIA_Disabled, AsTag(FDisabled)); // Do the actual setting

See also

MUIObj

  

The MUI Object if created

HasObj

  

Is the MUI Object created and can be used

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-22