textHeight changing again when copying fields from one stack to another

Paul Dupuis paul at researchware.com
Mon Aug 27 20:06:05 EDT 2018


On 8/27/2018 7:03 PM, Dr. Hawkins via use-livecode wrote:
> I licked this a few years ago, but forget how.
>
> I have fields being copied from one stack to another (actually, the group
> is copied) for output purposes.
>
> the sharedText and lockText are both set to true, and maintenance routines
> cause the textHeight to be set to my custom property txtHgt.
>
> I'm seeing fields change from a set textHeight of 12 to default/italic
> displayed 11 on the new cards.
>
> Could someone kindly remind me how to deal with this?
>
I would expect you need to explicit set the textHeight of the field
before copying. Otherwise it inherits the textHeight value from its
parent object all the way up to the stack (or LiveCode) defaults.






More information about the use-livecode mailing list