Mark Swindell wrote:
How does one get the relative position of a button within a group of buttons?

I want to put the (relative to group myGroup) number of the target into vMyVar One can say
        select button 3 of group myGroup

without problem.
But how would one best do this using the target function?

A little cheat:

on mouseUp
  set the hilite of the target to true
  get the hilitedbutton of me
  set the hilite of the target to false
end mouseUp

Put it into the group script. If your buttons are radio buttons (i.e., they don't change hilite) then all you need to do is get the hilitedbutton.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to