Can anybody help me with some piece of code to show hint without mouse
movement?
The situation is, I am using a DBGrig and when I am navigating thru the GRID
(using up/down keys) I want
to display the value of a particular field in the hint of the GRID.
Thanks in advance.
Partha.
var
h : THintWindow;
r : TRect;
begin
with r do
begin
//
// set the position and size
// of the hint window
//
left := 10;
top := 50;
right := 200;
bottom := 100;
end;
h := THintWindow.Create( Self )
;
with h do
begin
//
// set the background color
//
Color := clRed;
ActivateHint( r, 'hi there!' );
//
// perform your tasks here
// before closing the hint window
//
MessageBox( 0,
'Press any key to close the '
+ 'hint window',
'THintWindow',
MB_OK );
ReleaseHandle;
Free;
end;
end;
JiangTao wrote in message <36811175...@990.net>...
I assume the attatchment was part of an email. However, I am interested
in it
for an application (and to learn). Is there any way to also get a copy
of it?
Jonathan
Ralph Friedman (TeamB) wrote:
>
> Partha:
>
> Example unit attached.
> --
> Regards
> Ralph (TeamB)
The file is attached to the message to which you responed.
--
Regards
Ralph (TeamB)
(Because the day has only 24 hours,
personal email will only in rare circumstances be answered).
--
Jonathan Thiesse wrote in message <3692A3...@snet.net>...