Sign in Join
FPDoc Onlineexperiment

GetShortHint function

In unit Forms

Returns the short version of a Hint string.

Declaration

pascal
function GetShortHint(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 short version of the Hint text (when available).

Description

A short Hint is separated from the long Hint by a '|' character. If the character is not found, the whole Hint string is returned.

See also

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