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 » Thu Jul 09, 2015 7:05 pm

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

Thanks,
David

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Adding choice to option button

Post by Klaus » Thu Jul 09, 2015 7:10 pm

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 » Thu Jul 09, 2015 10:33 pm

Thanks, Klaus!

Post Reply

Return to “Talking LiveCode”