change the size of the box in a checkbox

Kay C Lan lan.kc.macmail at gmail.com
Thu Oct 6 18:56:01 EDT 2005


On 10/6/05, Kay C Lan <lan.kc.macmail at gmail.com> wrote:
>
>
> on menuPick tMyChoice --your choice is sent to here
> switch tMyChoice --switch will look for a match
> case ("Standard")
> --remember setting them to zero will return to normal size
> set the icon of button "CheckBox1" to 0
> set the hilitedIcon of button "CheckBox1" to 0
> set the disabledIcon of button "CheckBox1" to 0
> set the rectangle of button "CheckBox1" to 25,25,65,47
> break
> case ("Medium")



Whooops

That should be 'to empty' not 'to 0'. 'empty' will give you the default
icon.

Hope I caught it before you had too much 'What the...' :-)

Cheers



More information about the use-livecode mailing list