Click here to Skip to main content
15,892,059 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: CCC 26-10-2021 Pin
pkfox26-Oct-21 1:46
professionalpkfox26-Oct-21 1:46 
GeneralRe: CCC 26-10-2021 Pin
Greg Utas26-Oct-21 1:50
professionalGreg Utas26-Oct-21 1:50 
GeneralRe: CCC 26-10-2021 Pin
pkfox26-Oct-21 1:57
professionalpkfox26-Oct-21 1:57 
GeneralRe: CCC 26-10-2021 Pin
Greg Utas26-Oct-21 2:00
professionalGreg Utas26-Oct-21 2:00 
GeneralRe: CCC 26-10-2021 Pin
pkfox26-Oct-21 2:03
professionalpkfox26-Oct-21 2:03 
GeneralRe: CCC 26-10-2021 - solution please. Pin
OriginalGriff26-Oct-21 2:39
mveOriginalGriff26-Oct-21 2:39 
GeneralRe: CCC 26-10-2021 - solution please. Pin
Greg Utas26-Oct-21 2:43
professionalGreg Utas26-Oct-21 2:43 
GeneralThe Zen of Tapping Pin
Gerry Schmitz25-Oct-21 9:54
mveGerry Schmitz25-Oct-21 9:54 
In the "old" days, you "clicked" (mouse); or perhaps double-clicked.

In UWP, we don't have (much of) a mouse; we have a "pointer"; and we "Tap" or double-tap; which generally can also be handled via Click. (The trolls get excited when you suggest tapping instead of clicking in certain instances)

Now the UWP double-tap, is actually a triple-tap: first the (single) Tap fires (if implemented); then the double-tap (if implemented). So, if you plan to handle both; you need to be aware of both.

My scenario was that if one Tapped a particular user control, it was "selected"; tap it again, and it became unselected.

I decided that a double-tap would select / deselect all of the same type. So, what happens now it, the first tap selects / deselects; then the Double-Tap sender is the original One-Tap sender which is now selected / deselected and enabling a cascade of the original intent.

(If you implement single-tap and not double-tap, all double taps become multiple single taps; but the double-tap does not override a single-tap. And implementing a drag, required implementing a "pointer pressed" versus a Tap)

Seems totally natural, somehow.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food

JokeRe: The Zen of Tapping Pin
k505425-Oct-21 10:10
mvek505425-Oct-21 10:10 
GeneralRe: The Zen of Tapping Pin
Greg Utas25-Oct-21 10:23
professionalGreg Utas25-Oct-21 10:23 
GeneralRe: The Zen of Tapping Pin
den2k8826-Oct-21 0:31
professionalden2k8826-Oct-21 0:31 
GeneralRe: The Zen of Tapping Pin
#realJSOP26-Oct-21 4:19
mve#realJSOP26-Oct-21 4:19 
GeneralRe: The Zen of Tapping Pin
OriginalGriff25-Oct-21 20:39
mveOriginalGriff25-Oct-21 20:39 
GeneralRe: The Zen of Tapping Pin
Richard Andrew x6425-Oct-21 10:31
professionalRichard Andrew x6425-Oct-21 10:31 
GeneralRe: The Zen of Tapping Pin
Greg Utas25-Oct-21 11:05
professionalGreg Utas25-Oct-21 11:05 
GeneralRe: The Zen of Tapping Pin
Gerry Schmitz25-Oct-21 23:08
mveGerry Schmitz25-Oct-21 23:08 
GeneralRe: The Zen of Tapping Pin
Member 1532961325-Oct-21 11:06
Member 1532961325-Oct-21 11:06 
GeneralRe: The Zen of Tapping Pin
Mycroft Holmes25-Oct-21 12:10
professionalMycroft Holmes25-Oct-21 12:10 
GeneralRe: The Zen of Tapping Pin
Gerry Schmitz25-Oct-21 23:20
mveGerry Schmitz25-Oct-21 23:20 
GeneralRe: The Zen of Tapping Pin
11917640 Member 25-Oct-21 20:53
11917640 Member 25-Oct-21 20:53 
GeneralRe: The Zen of Tapping Pin
Gerry Schmitz25-Oct-21 23:40
mveGerry Schmitz25-Oct-21 23:40 
GeneralRe: The Zen of Tapping Pin
den2k8826-Oct-21 0:34
professionalden2k8826-Oct-21 0:34 
GeneralRe: The Zen of Tapping Pin
Peter_in_278026-Oct-21 0:55
professionalPeter_in_278026-Oct-21 0:55 
GeneralRe: The Zen of Tapping Pin
Greg Utas26-Oct-21 2:42
professionalGreg Utas26-Oct-21 2:42 
GeneralWhere Russian peasants come from... Pin
CodeWraith25-Oct-21 4:13
CodeWraith25-Oct-21 4:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.