PDA

View Full Version : How can I add hotkey to a class in a customvfp section?



hmischel@diligentsystems.com
2016-10-31, 11:34
Hi,

How would I define a hot key delegate in a class?

Do I just add proc hotkey() in the class definition?

Thanks.

Herb

HankFay
2016-10-31, 16:32
That's what the docs imply.

hmischel@diligentsystems.com
2016-11-01, 12:04
Thanks Hank,

I can't seem to get that working on an image object.

I'd like to be able to manipulate an image based on key strokes, but I must be doing something wrong.

Herb

HankFay
2016-11-01, 14:33
Hi Herb,

is the hotkey firing? You can log that one way or another.

Hank

hmischel@diligentsystems.com
2016-11-01, 15:51
Hi Hank,

That's the issue. I don't seem to be able to get a hotkey to fire off in a custom VFP section.

It is alluding me :confused:

Herb

HankFay
2016-11-01, 17:32
Hi Herb,

ticket it would be my suggestion. I'd try (as I suspect you have) various hotkeys, just to be sure.

Hank