Unit 'MUIClass.Gadget' Package
[Overview][Classes][Index] [#MUIClass]

TMUIString.IntegerValue

Set/Get the contents of the String object as Integer Value

Declaration

Source position: MUIClass.Gadget.pas line 68

published property TMUIString.IntegerValue : Integer
  read GetInteger
  write SetInteger
  default 0;

Description

Useful for turning a string gadget into an integer gadget. Setting this attribute puts the value with '%ld' into the gadget, getting it returns a LongWord containing the string gadgets contents as number.

You should set Accept to "0123456789" or something like that to avoid wrong characters.


Documentation generated on: 2024-11-21