Dynamic labels for buttons with (oddshaped) icon images?
geradamas at yahoo.com
Thu Feb 5 14:46:00 CST 2009
Just pumped out a couple of blank button images from my "Button Basher"
stack and imported them into a new stack; using them as icons for
On the stack there is a text field "fNAME"
and the button has the following script:
set the name of me to fld "fNAME"
so everybody can set the NAME of the button to what they wish.
Even jiggling while around with the margins allows one to centre
the NAME in the button (i.e. over the icon image), this mucks up
the image really badly.
set the label of me to fld "fNAME"
and the effect is just the same:
"Label Changer.rev" at revOnline under 'Richmond'.
sincerely, Richmond Mathewson.
A Thorn in the flesh is better than a failed Systems Development Life Cycle.
More information about the use-livecode