Lassi

Member since: Tuesday, 03 July 2018
Last login: 4 months ago
Profile viewed: 59 views

No Rank
Points: 0

Lassi replied to the topic 'Interactive gesture events don't trigger correctly' in the forum. 4 months ago

If I can't get an answer here, could you suggest any other site to ask for advice with Embarcadero technologies related issues? Or I'll just ask for an answer in Stack Overflow.

Read More...

Lassi replied to the topic 'Interactive gesture events don't trigger correctly' in the forum. 5 months ago

Here you can also find the whole small test project as a zip file attachment.

Read More...

Lassi created a new topic ' Interactive gesture events don't trigger correctly' in the forum. 5 months ago

Hello,

I have been searching the internet for an answer and debugging my application for a couple of days now and nothing seems to do the trick here, perhaps no-one else has had this issue yet.

I have made a basic C++ Windows desktop VCL forms application with one TGestureManager and one TPaintBox in it, and assigned the gesture manager to the paint box. I have also selected the supposedly correct options in the paint box properties (see the attached screenshot of my RAD studio). The problem is as follows.

The standard gestures (only sgiLeft enabled currently) seem to work just fine triggering PaintBox1Gesture function correctly. But with interactive gestures (igiZoom and igiPan) the function only triggers when the application is at first out of focus. So you have to click e.g. the Windows desktop first to be able to trigger interactive gestures. After the interactive gesture is done, you can't do another one unless you defocus the application window again.

Any ideas why is this happening? I am running Windows 10 64-bit and haven't been able to test on other platforms yet.

Read More...