Attach behavior to mobile control? Possible?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
fgr33n
Posts: 86
Joined: Wed Oct 15, 2014 3:14 pm

Attach behavior to mobile control? Possible?

Post by fgr33n » Thu Jun 25, 2015 2:12 pm

Hi all, I would like to be able to touch a video in a mobile player to toggle between play and pause without having to display the controller, or create a separate button. This should be easy enough with mobileControlDo and Play or Pause. The problem is I can't seem to figure out how to attach an LC behavior or mouseUp handler to a mobile control. Is this even possible?

Thanks in advance! Fred

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Attach behavior to mobile control? Possible?

Post by Klaus » Thu Jun 25, 2015 3:47 pm

Hi fgreen,

I don't think this is possible at all, since native controls are NOT part of Livecode
but are supplied by the underlying OS and only "overlay-ed" on top of your stack(s).


Best

Klaus

fgr33n
Posts: 86
Joined: Wed Oct 15, 2014 3:14 pm

Re: Attach behavior to mobile control? Possible?

Post by fgr33n » Thu Jun 25, 2015 4:09 pm

Hi Klaus, I was afraid of that. Thanks for the info.

Post Reply