Documentation Center

PslSourceList.Option

Returns or changes some options of the source list.

Syntax

Expression.Option (Name as Long) as VARIANT

Name Specifies the option to read or change. It can be one of these values:

pslOptionActualCodepage (Value = 4): The codepage for converting strings from unicode to DBCS.

pslOptionCodepage (Value = 2): The codepage for converting strings from unicode to DBCS. If the default codepage of the source language is used, this option returns 0.

pslOptionFont (Value = 3): Returns the font which is used to display the source strings. This has the format "<Fontname>,<Fontsize>, i.e. "Arial,9". An empty font string stands for the system (default) font.

pslOptionLangID (Value = 1): Returns the language ID of the source list. Same as PslSourceList.LangID