TextStyle Inheritance

Jo=?ISO-8859-1?B?6w==?=l Guillod joel.guillod at net2000.ch
Sat Nov 22 03:36:17 EST 2003


I was not aware of the current behavior but this could explain some problems
I met formely.

Does the current behavior means that it is not possible to do:

  set the textSize of fld 1 to 24
  set the textFont of fld 1 to monaco

to set the size and font to 24/monaco because:

  set the textSize of fld 1 to 24 -- changes the textFont also
  set the textFont of fld 1 to monaco -- reset the textSize also
  -- then here we dont get what we wanted to (24/monaco)?

I would not consider a good practice to have such side effects: what
property you set should be set without changing other "bounded" properties.

This is my opinion.

Joel Guillod

> ...
> You can read more about the behavior and the feature request here:
> 
> http://www.runrev.com/revolution/developers/bugdatabase/show_bug.cgi?id=66
> 
> Curry



More information about the use-livecode mailing list