Sign in Join
FPDoc Onlineexperiment

GetLongHint function

In unit Forms

Returns the long version of a Hint string.

Declaration

pascal
function GetLongHint(const Hint: string): string

Arguments

Hint

The string containing both short and long Hint text in the format: 'Short Hint|This is the Long Hint for a control.'

Function result

The long variant of the specified hint text.

Description

A long Hint is the part of the text which appears after a '|' character in Str. For example:

'Short Hint|This is the Long Hint for a control.'

If the '|' character is not found, the value in Str is returned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.