Adding choice to option button

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
david_fff
Posts: 29
Joined: Wed Nov 12, 2014 5:29 pm

Adding choice to option button

Post by david_fff »

What script will allow me to add choices to an option or a pulldown button?

Thanks,
David
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Adding choice to option button

Post by Klaus »

Hi David,

you can modify -> the text of btn "your button here"
...
put the text of btn "my option" into tContent
put CR & "New option 666" after tContent
set the text of btn "my option" to tContent
...
You get the picture :D


Best

Klaus
david_fff
Posts: 29
Joined: Wed Nov 12, 2014 5:29 pm

Re: Adding choice to option button

Post by david_fff »

Thanks, Klaus!
Post Reply