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

TMUIString.Accept

A string containing characters allowed as input for the string gadget.

Declaration

Source position: MUIClass.Gadget.pas line 62

published property TMUIString.Accept : string
  read FAccept
  write SetAccept;

Description

Whenever the user hits a character not found in Accept, he will hear a beep and gadgets contents won't have changed.

Example:

Edit1.Accept := '0123456789-'; // only accept Integer numbers and '-'

See also

Reject

  

A string containing characters that should not be accepted as input for the string gadget.


Documentation generated on: 2024-11-21