Thanks Terry,
I will check it out and see.
Lennox.

Terry Ford <[EMAIL PROTECTED]> wrote: 
On Sep 24, 2006, at 2:43 PM, Lennox Jacob wrote:

> Hello,
> I have modified TextEditor, the RB Tutorial project, by adding  
> three bevel buttons (toggled), for Left, Centered and Right alignment.
> I am able to perform these alignments but when I save the document  
> and reopen it the alignments are all Left.
>
>   If Document<>Nil then
>     Document.SaveStyledEditField TextField
>     TextHasChanged=False
>   End if
>
> Any suggestions?

A lot of the problems with alignment in Mac is backward compatibility  
and use of the old WorldScript format. Many of these issues do not  
exist in Windows Rb as it was designed to use rtf. Although Mac has  
evolved to rtf in TextEdit Rb has not followed suit. Therefore  
printing and saving aligned text with SaveStyledText routines will  
not work.

There is a StyledText Class that may work but I haven't ever found  
the time to figure out whether or not it actually works in saving and  
printing on Mac. You might want to investigate that venue but, as  
usual, the documentation is both limited and vague.

Regards,

Terry

_______________________________________________
Unsubscribe or switch delivery mode:


Search the archives of this list here:



                
---------------------------------
Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to