In Delphi IDE,the editor pops up a InstantHint or Help
when we type a function name.
For example,if we type 'SendMessage(',
then instantly we get a help popup of the funtion parameters.
This Functionaly is true for our user defined functions also.
I like to add this InstantHelp functionality in the editor of
current application I am working in(also developed in Delphi).
I tried THintWindow,it works goods.
But the text in THintWindow object cannot be highlighted as it
is done in Delphi IDE Editor.
i.e cannot highlight which parameter of the function we type.
Can we draw text of different colors in THintWindow object's canvas.
MyFunction([Blue]ChannelNo: Integer,[/Blue]Mode: Integer)
MyFunction(ChannelNo: Integer[Blue],Mode: Integer[/Blue])
Many thanks for your suggestions.
0 · ·