rightAligned Text Fields In Windows

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: rightAligned Text Fields In Windows

Post by Mark » Thu Oct 25, 2012 10:47 am

Hi,

Apparently, if your stack is already open, locking and unlocking the field does the trick, although I must say this is new to me.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7238
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: rightAligned Text Fields In Windows

Post by jacque » Thu Oct 25, 2012 8:30 pm

New to me too. I'm not sure I'd rely on it but it's handy to know.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: rightAligned Text Fields In Windows

Post by bangkok » Sat Aug 02, 2014 10:01 pm

An old thread... But FormatForPrinting is -always- a pesky problem on Windows.

(By the way, is it possible to avoid it ? Is there a font on Windows with same result for screen display and printing ?)

I've noticed something though : it's important that the substack has a default font declared.

From the doc :

Important!Fontsinherited from another stack are not updated when you set the formatForPrinting of a stack. If the stack will be printed, make sure that either the stack'stextFontproperty is set to a font name (not set to empty), or all fields to be printed have their own font rather than inheriting it.

Post Reply

Return to “Windows”