aligning text using a Tab

Brandon Cernicky brandon_cernicky at yahoo.com
Mon Dec 4 10:22:15 UTC 2006


Hi Ben,

The tab character is not supported in E-Prime for
space adjustments like you are attempting to perform.

You can accomplish what you are trying to do in a
number of ways and some of the possible ideas are:
1) Create a Slide and place a SlideText down in the
areas that have the summary text and align them the
way you wish.  This becomes tedious with larger number
of entries.
2) Use the format command with the @ character to pad
for each possible character.  For example
Format("ABC", "@@@@@@@@@@") and Format("ABCDEFGH")
will result in
       ABC
  ABCDEFGH
This effectively right aligns the text for multiple
entries and for single entries provides a ten
character in this case "field" to place data.

In any case, you will typically need to use Courier
New as each character represents the same amount of
pixel width so that alignment is much easier.

-Brandon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Brandon S. Cernicky
Senior Software Engineer
Psychology Software Tools



> > Subject: aligning text using a Tab
> From: "Ben Robinson" <brobinso at mprc.umaryland.edu>
> Date: Fri, 01 Dec 2006 15:41:38 -0500
> 
> i'm trying to format a TextDisplay object to show
> summary statistics at the end of a block of trials,
> and try as i might, i can't get the darned thing to
> line up using tabs.
> 
> i've tried:
> 
> Results.Text = \t
> Results.Text = "\t"
> Results.Text = Chr$(9)
> Results.Text = ebTab
> 
> all i'm getting are little squares wherever there
> should be a tab.
> 
> suggestions?  what am i doing wrong?
> 
> ben robinson
> 



 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index



More information about the Eprime mailing list