What Just got Clicked

Dick Kriesel dick.kriesel at mail.com
Sat Aug 27 00:12:42 EDT 2005


On 8/26/05 8:37 PM, "Todd Geist" <tg.lists at geistinteractive.com> wrote:

> Or is there some way for the card to know which slice of the pie was clicked
> On?  Is there some property that is set with each object that a message
> passes through?
> 
> I am flailing about here   :<(

If you knew the ChartMaker controls, and if they pass mouseUp, your card
script could check the target.

on mouseUp
  switch the short name of the target
  case <one>
    
  break
  case <two>
    
  break
end switch
end mouseUp

Still flailing?

-- Dick





More information about the use-livecode mailing list