Problems with Padding and the Properties

Richard Gaskin ambassador at fourthworld.com
Wed Jul 24 18:37:52 EDT 2013


Timothy Bleiler wrote:

 > When I get the properties of a field, the padding is included but
 > appears to be the rect of the field.
 > If I try to get the padding of the field directly i.e. get the
 > padding of fld 1 - I get the message "the object does not have this
 > property"
 >
 > It looks to me like something is a bug but I don't know where the
 > error is because I really don't know what the rules are for the
 > padding property.

This appears to be a bug, either in the docs or the engine, as this 
example from the Dictionary throws an error:

   set the padding of field 1 to 10

Until this is resolved you may need to specify a text chunk to apply the 
padding to, or use the margins property.

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys





More information about the use-livecode mailing list