| Author | Topic: Touch-screen and Xbase++ |
---|
| Jack Duijf | Touch-screen and Xbase++
on Sat, 25 Aug 2018 17:55:41 +0200Hello,
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 Kereje | Re: Touch-screen and Xbase++
on Sun, 26 Aug 2018 00:41:00 +0200Hello,
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 Duijf | Re: Touch-screen and Xbase++
on Sun, 26 Aug 2018 11:49:46 +0200Hello 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) |