New touchscreen project

Post Reply
User avatar
Marc Venken
Posts: 1485
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

New touchscreen project

Post by Marc Venken »

I want to start a new project that will use a touchscreen system.

I would like to have the nice looking buttons/screen like this sample screen. (I don't want to make this screen, just for a view of the graphics)

I will sure need the Xbrowse, and at least 50 buttons

Can someone share some starting code for a touch program ? maybe with Xbrowse already working.

Reading the forum, there seems to be problems with btnbmp ? Are they still a issue ?

Tsbutton is not FW material, so I prefer not to use it. This is correct anno 2022 ?

Image
Marc Venken
Using: FWH 23.08 with Harbour
User avatar
Otto
Posts: 6414
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 30 times
Been thanked: 2 times
Contact:

Re: New touchscreen project

Post by Otto »

********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
nageswaragunupudi
Posts: 10729
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 10 times
Contact:

Re: New touchscreen project

Post by nageswaragunupudi »

By default all FWH controls are touch responsive.
Some controls have extended touch capabilities.
For example XBrowse and XImage, we can scroll the browse/image with flip of fingers and also pinch and zoom with fingers.
I have been using touch screen with my development computer and I keep testing on touch screen.

In addition we suggest you use this function at the beginning

Code: Select all | Expand


FW_TouchFriendly( .t. )
 

With this setting:
If use mouse to activate combobox or listbox, you will see the rows separated with height enough to be used with mouse.
If you activate the control with finger touch, then the height of options is larger to accommodate average size of a finger. ( 6 millimetres irrespective of the size and resolution of the screen).

So, please go ahead. We kept in mind these issues from years ago and made FWH ready for touch screens.
Regards

G. N. Rao.
Hyderabad, India
Post Reply