On 30-May-05, at 9:37 AM, Ross at Webwolves wrote:
He's probably talking about Justified alignment..
Actually, I meant the ability to have independent alignment for
each paragraph. For example, a centered headline, and body text
flush left, all in the same edit field.
Ross,
Are you referring to within the IDE itself during development? I may
be a bit confused about your goals and where/when you are attempting
to do this.
The Editfield in Rb 5.5.5 can do this now at *runtime*. Setting
alignment in the IDE does nothing thing for each EditField for
Initial State Text while developing. It is always left aligned until
runtime. It also applies that alignment to the entire field.
The StaticText Control will, however, show Alignment and styles *in
the IDE* but this also applies to the entire control.
When working with Editfields now, there are all kinds of new features
that use the StyledText Class.
"The StyledText class enables you to apply style attributes to text
independently of an EditField and its properties. Also, the
StyledText class gives you the ability to align paragraphs (left,
center, and right). The properties and methods of the StyledText
class can be accessed from an EditField via its StyledText property,
but you can also open, manage, and save styled text that is not
displayed in any control."
The Paragraph Class is also part of this along with style runs etc.
The problem is that theses features seem to be scattered around and
sometimes difficult to find. There are also very few examples of how
to use them.
Justification (Alignment of Left and Right Text edges of text within
an editfield) is not supported yet; probably because of the
complexity involved with Fonts and sizes. As many have said before,
"The EditField Control is *not* a word processor." ;-)
As far as RTF is concerned, if you wish to see this on Mac, add your
me-too to the Feature Request at:
<http://www.realsoftware.com/feedback/viewreport.php?reportid=ggtkegot>
AFAIK, Mac still uses "WorldScript" for EditFields on Mac but RTF on
Windows.
Also, StyledTextPrinter on Mac doesn't honor Alignment (Yet) when
printing to screen or paper, but it does on Windows. There are gaps
that will hopefully be dealt with in future releases of Rb.
Stefan, the WordGuise fellow, is going to work more on his Windows
support after June 1st. I'm going to beta test for him, so
hopefully I'll get to have my cake and eat it, too. :-)
I wish I had the time to test this myself but far too busy right now
solving my own problems.
Best,
Terry
_______________________________________________
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>
|