New touchscreen project

New touchscreen project

Postby Marc Venken » Fri Feb 04, 2022 11:29 pm

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.04 with Harbour
User avatar
Marc Venken
 
Posts: 1343
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: New touchscreen project

Postby Otto » Sat Feb 05, 2022 7:13 am

********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6008
Joined: Fri Oct 07, 2005 7:07 pm

Re: New touchscreen project

Postby nageswaragunupudi » Mon Feb 07, 2022 2:36 pm

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 view

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
User avatar
nageswaragunupudi
 
Posts: 10248
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: karinha and 80 guests