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 .

Dar


On May 3, 2014, at 2:12 PM, J. Landman Gay <jac...@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         |     jac...@hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to