[ ANN ] Release 8.1.0 RC-1

Richard Gaskin ambassador at fourthworld.com
Thu Aug 25 14:12:39 EDT 2016


Richmond wrote:

 > But it would be even more marvellous if one could set the font and
 > the font size for the messageBox like one can the scriptEditor.

xTalks have long supported scriptTextFont and sciptTextSize for all 
sorts of use cases where displaying things as we're accustomed to seeing 
them in our scripts can be useful.

The Message Box is a very good example.

The scriptTextFont and scriptTextSize global properties continued to 
work through MetaCard 4.1 using LC engine 6.6.4 (perhaps later, that's 
just the more recent MC install I have), and the LC engine v8.1 still 
allows those values to be used once the IDE sets them.

Unfortunately, the IDE no longer sets them. Both properties have been 
returning empty in the LiveCode IDE for years (possibly since the first 
script editor overhaul a decade or so ago), and are currently flagged as 
deprecated:
http://quality.livecode.com/show_bug.cgi?id=11596

I suppose there's probably some IDE function that could be used for that 
instead (provided we hunt deeply enough to find it), but it seems much 
simpler to just use what's already in place in the engine for that.

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the Use-livecode mailing list