1. Michael Hartnett
  2. PowerBuilder
  3. Thursday, 22 June 2017 09:02 AM UTC

Hi All,

Just a query to see how others may handle a certain situation in an Appeon Mobile App.

We have developed an App for use on Mobile Phones and Tablets.  Once the users login they can view a list of records in their system.  This datawindow list is scrollable and like a mobile app the users can click a row to drill into the records.

In some cases, if the device is sluggish when scrolling or users have big fingers, the user may end up drilling into records by accident while trying to scroll.  Does anyone have a suggestion how to allow full row clicks without accidental drill down if the scrolling sluggish?

I could restrict the drill down click to a button on the row, but I would rather allow then click the full row if possible.

Thanks for any help

Michael

Mike S Accepted Answer Pending Moderation
  1. Thursday, 22 June 2017 12:46 PM UTC
  2. PowerBuilder
  3. # 1

check the clicked field to see if what was clicked is visually next to the scrollbar, and if so ignore the click.

Comment
  1. Luca Ferrante
  2. Monday, 26 June 2017 08:52 AM UTC
Hi Mike, 



could you explain better with a sample code ?



TIA



Luca Ferrante

  1. Helpful
  1. Luca Ferrante
  2. Monday, 26 June 2017 11:52 AM UTC
Hi Mike, 



could you explain better with a sample code ?



TIA



Luca Ferrante

  1. Helpful
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Thursday, 22 June 2017 14:36 PM UTC
  2. PowerBuilder
  3. # 2

Capitalizing on Mike S's excellent answer:

 - Another option would be to display a messagebox when the click is next to the scrollbar:  "Do you want to view the details of this order?  Y/N".

 - Ideally, the option to ignore a click next to the scrollbar or to get a verification messagebox would be a user option in the app.

 

Olan

Comment
There are no comments made yet.
Lars Mosegaard Accepted Answer Pending Moderation
  1. Tuesday, 27 June 2017 01:51 AM UTC
  2. PowerBuilder
  3. # 3

Not sure what events might be available in a mobile environment, but you could consider the lbuttondown and lbuttonup events instead of the clicked event 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.