FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New touchscreen project
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
New touchscreen project
Posted: 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 ?

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: New touchscreen project
Posted: Sat Feb 05, 2022 07:13 AM

Hello Marc,

viewtopic.php?f=3t=39212start=0hilit=biene
Best regards,
Otto

&&&

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: New touchscreen project
Posted: Mon Feb 07, 2022 02: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 (fw): Select all Collapse
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

Continue the discussion