Swipe transitions

J. Landman Gay jacque at hyperactivesw.com
Wed Jul 19 16:44:24 EDT 2017


On 7/19/17 2:10 PM, Richard Gaskin via use-livecode wrote:
> But that would only take care of the swipe of the current card.  We'd 
> also need some way to assign the destination card for each swipe direction.
> 
> What should that syntax look like, and how do we discern swipe events 
> from others on controls within the card?

lock screen for swipe effect
switch pDir
  case "left"
    ...
  case "right"
    ...
  case "up"
    ...
  case "down"
    ...
end switch
unlock screen with swipe effect pDir

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list