PlainText Property (ALog)

Returns or sets a value that determines whether the URL file will be displayed and opened as text or an HTML file.

Syntax

Object.PlainText [ = bPlainText ]

The PlainText property syntax has the following parts:

 

Name

Type

Description

Object

ALog

ALog control

bPlainText

Bool

A boolean expression that specifies whether the URL will be displayed and opened as text (True) or an HTML file (False).

Where

bPlainText can be one of the following:

 

Value

Description

True

The URL will be opened as text.

False *

Default. The URL will be opened as an HTML file.

Comments

The ALog control will interpret the text passed to the Append method according to this property.

The PlainText property should be set before appending text or loading new file.

Example

The following statement changes the ALog window URL to be opened as plain text:

log1.Clear()
log1.PlainText=True
log1.Append("First Line\r\nSecond Line\r\n")

Applies to

ALog

See Also

Append, LocationURL, Navigate