Pete-

Instead of storing the button name in the preferences file, why not
just save the button number?

private command setButtonHilite pgroup, pbuttonNumber
    set the hilitedButton of group pgroup to pbuttonNumber
end setButtonHilite

-- 
-Mark Wieder
 mwie...@ahsoftware.net


_______________________________________________
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

Reply via email to