Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Showing hint without mouse movement.

97 views
Skip to first unread message

Gigamaq Consultants (P) Ltd.

unread,
Dec 22, 1998, 3:00:00 AM12/22/98
to
Hi! Friends,

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.


JiangTao

unread,
Dec 23, 1998, 3:00:00 AM12/23/98
to
Try This: the key is ActivateHint

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;

Lee Grey

unread,
Jan 1, 1999, 3:00:00 AM1/1/99
to
What if you want the hint to disappear automatically?


JiangTao wrote in message <36811175...@990.net>...

Jonathan Thiesse

unread,
Jan 5, 1999, 3:00:00 AM1/5/99
to
Ralph,

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)

Ralph Friedman (TeamB)

unread,
Jan 6, 1999, 3:00:00 AM1/6/99
to
Jonathan:

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>...

0 new messages