Page 1 of 1

Change Mouse Icon

PostPosted: 21 May 2014 02:56
by Aggie85
Howdy!

I have an OnClick event set for several images in my app. I need to change the mouse cursor to indicate it is clickable.

How do I do this?

Thanks,

Aggie85

Re: Change Mouse Icon

PostPosted: 21 May 2014 09:46
by Alexander Bulei
Hi Aggie85,

delphi code
Cursor:= crPointer;


Best Regards.

Re: Change Mouse Icon

PostPosted: 21 May 2014 13:14
by Aggie85
cgdevtools wrote:Hi Aggie85,

delphi code
Cursor:= crPointer;


Best Regards.


Let be more precise. I have images in the grid and carousel. I would like to indicate they are clickable if the mouse moves over them like it would if they were a link.

How do I do this with the image component?

Thanks,

Aggie85

Re: Change Mouse Icon

PostPosted: 21 May 2014 13:19
by Alexander Bulei
Hi Aggie85,

Do not ask me to do a demo with it...

delphi code
JQImage.Cursor:= crPointer;


What the problem?

Best Regards.

Re: Change Mouse Icon

PostPosted: 21 May 2014 13:25
by Aggie85
cgdevtools wrote:Hi Aggie85,

Do not ask me to do a demo with it...

delphi code
JQImage.Cursor:= crPointer;


What the problem?

Best Regards.


OK I will have a look when I am in front of the computer. I was reading your online docs and there is no Cursor property for JQImage.

Thanks

Re: Change Mouse Icon

PostPosted: 21 May 2014 13:35
by Alexander Bulei
Hi Aggie85,

I was reading your online docs and there is no Cursor property for JQImage.


It's a IW property.

Best Regards.

Re: Change Mouse Icon

PostPosted: 21 May 2014 13:57
by Aggie85
cgdevtools wrote:Hi Aggie85,

I was reading your online docs and there is no Cursor property for JQImage.


It's a IW property.

Best Regards.


Well, getting ready to implement it now. I honestly for some reason thought it would have to be done differently (i.e. NOT SO OBVIOUS)!

Well, I just did it and it works as y'all said :D !

Thanks again!

Aggie85