on mouseUp
  put fld "seatNo" into tseatNo
  repeat for each line y in tSeatNo
    repeat with x = 1 to the number of buttons
      if y = the label of button x then
        set the backgroundcolor of  button x to y
      end if
    end repeat
  end repeat
end mouseUp


Something like the above might work.  Hope this helps.
Mark
On Mar 1, 2006, at 4:43 PM, liamlambert wrote:

My fld "seatNo" has more than one line or item
I want to repeat the code below for each line or item


on mouseUp
  put fld "seatNo" into tseatNo
 repeat with x = 1 to the number of buttons
 if tseatNo = the label of button x then
      set the backgroundcolor of  button x to red
  end if
  end repeat
    end mouseUp

Liam Lambert
[EMAIL PROTECTED]
IRELAND


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to