dsc at swcp.com
Sat May 3 16:36:17 EDT 2014
Yikes! I just mentioned that in crossed mail.
I didn’t realize people really used that.
I’m open to other ideas. Even playing with the highlight property before introducing checkbox scripts. But eyes glaze over at this:
if the highlight of button “Include tractor” then …
I do functions early, so maybe a function would help. Or get to custom properties early .
On May 3, 2014, at 2:12 PM, J. Landman Gay <jacque at hyperactivesw.com> wrote:
> On 5/3/14, 2:23 PM, Dar Scott wrote:
>> The text property is special in that it can be used as the value of the object. Most notably we can do this:
>> put “All is good.” into field “Status”
>> We don’t have to write this:
>> set the text of field “Status” to “All is good.”
>> So, I was thinking something like this:
>> if button “Quiet” is not “checked” the…
>> if button “option 4” is not “selected” then…
> One problem is that buttons already have a text property, and some people use it to store things. Combo and option buttons use it for their content lists, but you can put whatever you want into any button. This works fine in a push button or any other type:
> put "I am a storage container" into button 1
> put btn 1 <-- "I am a storage container"
> Back in the HC days, that was one of the few storage options we had. It's far less common in LC because we have custom properties, but the text option is still there.
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode