EControl Syntax Editor SDK
TCustomSyntaxMemo.OnGetTokenHint Event

Occurs before hint window for the specified token is displayed.

property OnGetTokenHint: TGetTokenHintEvent;

Write an OnGetTokenHint event handler to display hint window for the specified token. To get this token (TSyntToken object) use: SyntObj.Tags[TokenIndex]. 

The default HintText is empty string. In this case hint window will not be displayed. To show hint window assign any non empty string to HintText variable. This text will be displayed in the hint window.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!