> Date: Sat, 28 Oct 2006 13:39:22 -0400
> From: "Robert Meek" <[EMAIL PROTECTED]>
> Subject: Help needed with DBGrid coordinates
> To: <delphi-db@elists.org>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;    charset="us-ascii"
> 
<<snip>>
> and came up with this, which is a variation of my own:
> 
>     if (pt.x = 1) or
>        (pt.x = 2) and
>        (pt.y = 0) then
>     CalendarGrid.Cursor:=crHandPoint
>     else
>     CalendarGrid.Cursor:=crDefault;
> end;

     if (
           (pt.x = 1) or
           (pt.x = 2)
        ) 
       and (pt.y = 0) then
     CalendarGrid.Cursor:=crHandPoint
     else
     CalendarGrid.Cursor:=crDefault;

_______________________________________________
Delphi-DB mailing list
Delphi-DB@elists.org
http://www.elists.org/mailman/listinfo/delphi-db

Reply via email to