Alaska Software Inc. - Touch-screen and Xbase++
Username: Password:
AuthorTopic: Touch-screen and Xbase++
Jack DuijfTouch-screen and Xbase++
on Sat, 25 Aug 2018 17:55:41 +0200
Hello,

My app has an drag-drop function in a xbpBrowse.
This works perfectly when using the mouse.

Left-click = Select item
move cursor to new location
release-left-button = Drop

I can not do this with my finger on a touch-screen.

What is my mistake?

Regards
Jack Duijf

-------------------------------------------------------------
Also a member off the XXP (http://www.xxp.nl)
Jose Antonio Diego KerejeRe: Touch-screen and Xbase++
on Sun, 26 Aug 2018 00:41:00 +0200
Hello,

You must program the :gesture callback/method for moving
the object.

I have extracted and adapted in this sample some of the code that I use to
give full drag&drop support with mouse/touch screen (look at the screenshot)

Regards. Diego


Source.png
DRAGDROP.zip
Jack DuijfRe: Touch-screen and Xbase++
on Sun, 26 Aug 2018 11:49:46 +0200
Hello Diego,

Thank you verry much.
This is a great help in understanding the gesture handling.

Regards
Jack Duijf

-------------------------------------------------------------
Also a member off the XXP (http://www.xxp.nl)