List actions, double click, etc.

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

List actions, double click, etc.

Post by atostaine »

I'm using a Prim_list VL-Web. This is an inventory inquiry for soft goods, style/color/size, etc.

I need two+ user actions, I use double click to drill down into the data, double click on style, see all the colors, double click on color, see all the sizes.
I need another action to view detail transactions.

I can't use itemclick because they want double click. I'm thinking a right click would be best because I need view detail transactions, as well as view receiving, view shipping, etc.

What is the best way to do this so web users are comfortable with it?

Thanks, Art
Art Tostaine
adale
Posts: 210
Joined: Wed Apr 08, 2020 9:18 pm
Location: Poplarville, MS

Re: List actions, double click, etc.

Post by adale »

I see this rather old post without any response, but am hopeful that maybe someone has an idea solution on how to address the need for multiple user actions for items in a list or tile.

In a list or tile component, we want two user action options such as click and double-click.
We start with click as the default, and works fine.
But, if we add a double-click, then we end up with two evtroutines that will be triggered, both the single click and the double click.

How would or should we implement both click event features, without the duplicate events?

EVTROUTINE Handling(#Tile1.ItemClick)
* do action 'A'
ENDROUTINE

EVTROUTINE Handling(#Tile1.ItemDoubleClick)
* do action 'B', but not action 'A'
ENDROUTINE
Arlyn Dale
Servias LLC
KEC
Posts: 12
Joined: Fri Jun 04, 2021 4:58 pm

Re: List actions, double click, etc.

Post by KEC »

Double click isn't really a web/mobile thing. Perhaps you need to review expectations. Users on those platforms are used to single clicks. Perhaps an expender or a plus(+) button to expand. Have a described action rather than expectations of double click which was more a windows thing.

Karen
adale
Posts: 210
Joined: Wed Apr 08, 2020 9:18 pm
Location: Poplarville, MS

Re: List actions, double click, etc.

Post by adale »

I acknowledge, and agree, that double-click is more of a windows concept. If VL could implement other touch gestures, such as a long press, then it opens up more options to utilize in the mobile environment for non-general, or advanced user use cases.
Arlyn Dale
Servias LLC
MikeRoyal
Posts: 10
Joined: Fri Jun 21, 2019 8:58 pm

Re: List actions, double click, etc.

Post by MikeRoyal »

As has been said, right click is more of a windows concept. You can add buttons or icons to the list and then the user can click on the appropriate button/icon to trigger the required action. This approach works well in that it is much clearer to the end user.
Post Reply