Grouped Fields and the formattedHeight
Igor Couto
igor at pixelmedia.com.au
Sat Jun 28 00:14:00 EDT 2003
Dear Jacqueline,
Thank you for your follow up! It's great to know that I was not simply
doing something silly - or missing the point. We newbies need a lot of
reassurance!.... :-P
On Thursday, June 26, 2003, at 02:14 PM, J. Landman Gay wrote:
>> Do you think these are bugs? Should I report them? Or am I missing
>> something?
>>
>> Again, the problems:
>> 1) changing the textFont of a group, and then the textSize of a
>> group, and then getting the formattedHeight of a field in the group
>> yields a wrong value.
>
> I tried the recipe from your previous message. I got the same results
> as you did until I clicked into the field. After the field received
> the focus, the formattedheight suddenly adjusted itself correctly. So
> it looks like the field has to get the focus before all its properties
> are fully recognized.
>
> I guess you could call it a bug. Scripting a "focus on fld 1" into
> your handler might work around it, but I didn't try it.
>
>
>> 2) removing the textFont property of the group (setting it to
>> 'empty'), ALSO removes the textSize.
>> Is this the way things are supposed to work?
>
> I'm not sure it is exactly a bug, because I can see an argument for
> having it work either way. But I think you should report both of them.
>
I've reported them today!
Once again, many thanks! - I've managed to implement a workaround in my
scripts already!
Kind Regards,
--
Igor
----------------------------------
igor at pixelmedia.com.au
----------------------------------
More information about the use-livecode
mailing list