A little fancier. on mouseup put token 2 of the value of the clickline into MAGIC put baseConvert(MAGIC, 16, 10) into WAL put 0 into KOUNT lock screen for visual effect in rect (the rect of grp "BOXES") repeat for 128 times set the label of btn ("B" & KOUNT) to numToCodepoint(KOUNT+WAL) add 1 to KOUNT end repeat put the short name of me into fld "RANGE" unlock screen with visual effect "scroll right" very fast end mouseup
on populateMe put "" into me lock screen put the number of buttons of grp UNIlist into nBtns repeat with x = 1 to nBtns put the short name of btn x of grp UNIlist into line (nBtns +1) - x of me end repeat end populateMe Jim Lambert _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode