Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
I did not read the thread where Klaus saved the day. Does it say anything about the fact that a button is a container? The name is what the button will show if the label is empty, but the label is what the button will show even if the name is not empty.
But the contents of the button are another property altogether. This is what you did above. Sort of an invisible, er, container, within a control. Anyway, you can put an entire speech into a button, and get it back, and this has nothing to do with either the name or the label:
put "theGettysburgAddress" into btn "yourButton"
answer line 1 to 5 of btn "yourButton"
I did not read the thread where Klaus saved the day. Does it say anything about the fact that a button is a container? The name is what the button will show if the label is empty, but the label is what the button will show even if the name is not empty.
But the contents of the button are another property altogether. This is what you did above. Sort of an invisible, er, container, within a control. Anyway, you can put an entire speech into a button, and get it back, and this has nothing to do with either the name or the label:
put "theGettysburgAddress" into btn "yourButton"
answer line 1 to 5 of btn "yourButton"
Craig Newman
Craig, I appreciate that! Very good information to know for a new, but eager LC 'programmer'!
I might be old compared to a lot of you, but this old mind keeps on a moving!
H Craig,
The Professor thought the island was sinking. What caused it?
Archie and Meathead were having an argument. The question came up "What do you do if there's an earthquake?" What were they arguing about?
Long story behind those two questions.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Simon wrote:H Craig,
The Professor thought the island was sinking. What caused it?
Archie and Meathead were having an argument. The question came up "What do you do if there's an earthquake?" What were they arguing about?
Long story behind those two questions.
Simon
OK if Craig isn't going to answer them....
1. Gilligan was moving his stick.
2. Whether to put on both socks then both shoes or one sock then one shoe.