Cant set field property from Multi-line Msg Box

Joe Lewis Wilkins pepetoo at cox.net
Sat Oct 2 19:07:00 EDT 2010


I should have done this originally; To clarify:

This one works:

repeat with k = 15 to 69
   repeat with i = 1 to the number of flds on cd k
       set the DontWrap of fld i of cd k to true
   end repeat
end repeat
beep

This one doesn't:

repeat with k = 15 to 69
   repeat with i = 1 to the number of flds on cd k
       set the TabOnReturn of fld i of cd k to true
   end repeat
end repeat
beep

Joe Lewis Wilkins



On Oct 2, 2010, at 3:20 PM, stephen barncard wrote:

> there are no  property names with spaces.
> 
> sqb
> 
> On 2 October 2010 17:10, Joe Lewis Wilkins <pepetoo at cox.net> wrote:
> 
>> Sorry, but I  said "TAB on Return", which IS a field property.
>> 
>> Joe Wilkins
>> 
>> On Oct 2, 2010, at 2:56 PM, Richard Gaskin wrote:
>> 
>>> Joe Lewis Wilkins wrote:
>>> 
>>>> While we're talking about bugs, I found that you cannot change
>>>> the field property "TAB on Return" from the multi line msg box.
>>> 
>>> That's because there is no property called "Tab in Return".
>>> 
>>> By default, the Rev Property Inspector hides the "English-like" names
>> used in the language and instead shows what is presumably an
>> "Even-More-English-Like" label.  The problem is that there is then no direct
>> way to know the name of the property you're setting.
>>> 
>>> In this case the actual property name is "autoTab".
>>> 
>>> 
>>> The first thing I tell my clients to do when they begin learning Rev is:
>>> 
>>> 1. Go to Preferences
>>> 2. In the section with the heading "Property labels are:", click the
>>>  option labeled "Name of LiveTalk Property".
>>> 
>>> Once that's done the Inspector provides reinforcement of the tokens
>> you'll have to learn for scripting anyway.
>>> 
>>> And without that, as you've found it just raises the learning curve.
>>> 
>>> --
>>> Richard Gaskin
>>> Fourth World
>>> LiveCode training and consulting: http://www.fourthworld.com
>>> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
>>> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
> 
> 
> 
> -- 
> 
> 
> 
> Stephen Barncard
> San Francisco Ca. USA
> 
> more about sqb  <http://www.google.com/profiles/sbarncar>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list