Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Misc > Re: WndProc
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 10 of 16 Topic 5998 of 6137
Post > Topic >>

Re: WndProc

by Fons <fonzzzNO@[EMAIL PROTECTED] > Feb 28, 2008 at 07:34 PM

>> I want to get the MOUSEENTER and MOUSELEAVE.
> 
>  I don't know if this is what you're looking for, but here's a snippet 
> from one of my programs:
>  
> procedure TNagForm.lbAboutMouseEnter(Sender: TObject);
> begin
>   if Sender is TLabel then Screen.Cursor := crHandPoint;
>   if Sender is TLabel then TLabel( Sender ).Font.Color := clMaroon;
> end; //lbAboutMouseEnter
> 
> procedure TNagForm.lbAboutMouseLeave(Sender: TObject);
> begin
>   if Sender is TLabel then Screen.Cursor := crDefault;
>   if Sender is TLabel then TLabel( Sender ).Font.Color := clBlack;
> end; //lbAboutMouseLeave 

My problem started with the TTreeView (changing text in a label with the 
description of the item that is pointed to). I used the TLabel as an 
example. Not knowing that the TLabel has an OnMouseEnter and 
OnMouseLeave event. And now I'm wondering why only the TLabel does have
it.

Thanks,
Fons.
 




 16 Posts in Topic:
WndProc
Fons <fonzzzNO@[EMAIL   2008-02-27 21:11:20 
Re: WndProc
"Maarten Wiltink&quo  2008-02-27 22:32:19 
Re: WndProc
Fons <fonzzzNO@[EMAIL   2008-02-27 23:15:55 
Re: WndProc
Jamie <jamie_ka1lpa_no  2008-02-27 19:14:16 
Re: WndProc
Fons <fonzzzNO@[EMAIL   2008-02-28 17:45:24 
Re: WndProc
Jamie <jamie_ka1lpa_no  2008-02-28 19:40:31 
Re: WndProc
Rob Kennedy <me3@[EMAI  2008-02-27 19:56:07 
Re: WndProc
Fons <fonzzzNO@[EMAIL   2008-02-28 17:46:53 
Re: WndProc
Brad Blanchard <nadie1  2008-02-28 19:12:28 
Re: WndProc
Fons <fonzzzNO@[EMAIL   2008-02-28 19:34:26 
Re: WndProc
"Chris.Cheney"   2008-02-28 18:58:15 
Re: WndProc
"Maarten Wiltink&quo  2008-02-28 20:09:08 
Re: WndProc
Fons <fonzzzNO@[EMAIL   2008-02-28 20:21:29 
Re: WndProc
"Maarten Wiltink&quo  2008-02-28 20:29:11 
Re: WndProc
Fons <fonzzzNO@[EMAIL   2008-02-28 20:48:18 
Re: WndProc
"Maarten Wiltink&quo  2008-02-29 09:31:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Sep 5 12:30:47 CDT 2008.