Why is my plain text Log columns not aligned?

Knowledge Base Article # Q200096

Read Prior Article Read Next Article
Summary Using the ALog.PlainText and ALog.FixedFont.Name properties to make columns of data line up correctly in a plain text ALog control.
When the ALog.PlainText property is set to True, ATEasy will use the Internet Explorer (IE) fixed pitch font. By default this will be set to "Courier New", however some systems may have set it to non-fixed pitch font (using IE options). You can override that by setting the ALog.FixedFont.Name in your application.  Once the font is set to a fixed pitch, any print statement in this mode will generate the same spacing for every character.

The log control font can be set as follows:

Log.FixedFont.Name = "Courier New"

The log control font size can be set as follows:

Log.FixedFont.Size= 11
Article Date 6/17/2008
Keywords ATEasy, ALog, PlainText, FixedFont

0 ratings | 0 out of 5
Read Prior Article Read Next Article