Page 1 of 1

New touchscreen project

Posted: Fri Feb 04, 2022 11:29 pm
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

Re: New touchscreen project

Posted: Sat Feb 05, 2022 7:13 am
by Otto

Re: New touchscreen project

Posted: Mon Feb 07, 2022 2:36 pm
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.