PDA

View Full Version : Doubt about using RTF format


autoplmst6
07-08-2008, 02:05 AM
Hi all:

Im at work, so I dont have AMS here at this moment, I tried to memorize aproximately if my mind doesn't fail. Im triyng to justifiy the text to alignment justify and when I write this script:

tbFormatting = {};
tbFormatting.Alignment = "4";

RichText.SetParagraphFormat("RichText1", tbFormatting);

and I put inside for example, on preload ( having in first place loading from file the rtf file...) doesn't show as justified only left center or right...Anybody has tried before this operation? I read the help file and says there is too an 4th kind alignment: justify.

Is there some kind of workaround for reaching the justify format text in RTF file?

Thanks

yosik
07-11-2008, 07:12 AM
Shouldn't you put the actions under the onShow Event?

Yossi

autoplmst6
07-12-2008, 04:35 AM
Are you referring to things lke this?

As said you told me in that event dont show as justify too..