Vcl.Controls.GetShortHint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetShortHint(const Hint: string): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall GetShortHint(const System::UnicodeString Hint);

Properties

Type Visibility Source Unit Parent
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls Vcl.Controls

Description

Returns the first part of a two-part hint string.

Call GetShortHint to obtain the short version of the hint specified as the value of a Hint property. The first part of the hint is the text preceding the | character. If the Hint string value is not separated into two parts, GetShortHint returns the entire string.

See Also

Code Examples