FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse on a touchscreen
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
xBrowse on a touchscreen
Posted: Thu Jul 11, 2024 10:26 AM
Hi,

There is a xBrowse on a touchscreen tablet. I double-click on any line, and open the action menu (the size of the menu overlaps several xBrowse lines).
If click on the menu option located on over of a line other than the current one, this line will become active. This is the effect :shock:
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse on a touchscreen
Posted: Fri Jul 12, 2024 03:41 AM
Is the click on menu by mouse-click or by finger-tap? Either way the xbrowse row should not change.

I always use touch-screen monitor with my development PC (desktop). Just now I tested with both mouse and finger touch. In both cases, the selected row did not change.

This is the program I used to test:
Code (fw): Select all Collapse
#include "fivewin.ch"

function Main()

   XBROWSER "CUSTOMER.DBF" SETUP ( oBrw:bPopup := { || mypopup() } )

return nil

function MyPopup()

   LOCAL oMenu

   MENU oMenu POPUP 2007
      MENUITEM "One"    ACTION MsgInfo( oMenuItem:cPrompt )
      MENUITEM "Two"    ACTION MsgInfo( oMenuItem:cPrompt )
      MENUITEM "Three"  ACTION MsgInfo( oMenuItem:cPrompt )
      MENUITEM "Four"   ACTION MsgInfo( oMenuItem:cPrompt )
      MENUITEM "Five"   ACTION MsgInfo( oMenuItem:cPrompt )
   ENDMENU

return oMenu
First, I tested with mouse click and then I tested with finger-tap. In both cases the behavior was perfect.

Regards



G. N. Rao.

Hyderabad, India
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: xBrowse on a touchscreen
Posted: Fri Jul 12, 2024 09:20 AM
Thanks Rao. I will keep thinking about what could have caused such an effect. :cry:
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: xBrowse on a touchscreen
Posted: Fri Jul 12, 2024 01:19 PM

Maybe it has nothing to do with it, but I remember that there where issues to set when a display of the screen was not set at 100%, but 125%. Was it for touch or not ???? just a idea

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: xBrowse on a touchscreen
Posted: Tue Jul 23, 2024 12:25 PM

Rao, this effect only occurs if I click with the stylus. If I click with my finger, then everything is fine..

Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: xBrowse on a touchscreen
Posted: Thu Aug 01, 2024 08:23 AM
I checked it out.
1. If it is a regular computer with a sensor monitor. When you select a menu option with your finger or stylus, everything works fine.
2. If the program is called from a laptop via RDP. When I touch the menu with finger, everything is fine. However, when the stylus moves over the menu, xBrose scrolls at the same time. That is, when the stylus selects a menu option, I get to another line of xBrose :shock:
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: xBrowse on a touchscreen
Posted: Sat Aug 03, 2024 09:44 AM

Up

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse on a touchscreen
Posted: Sat Aug 03, 2024 10:18 AM

I noticed your observation.

There is nothing I can now do about it.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion