Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.313 UseMnemonic Property

Description:

Determines whether to use the '&' character in the Caption property to indicate that the following character is the mnemonic character.

It is used to read strings in databases that include the '&' character.

Used in control(s):

Label

StaticText

Value:

True : Uses the '&' character to indicate the mnemonic key.(POW-TRUE)
False: Does not use the '&' character to indicate the mnemonic key.(POW-FALSE)

The character '&' is displayed in the caption string when the value is False.

When the value is true, the character immediately following the '&' in the caption string is underlined.

Note that, if you put "&&" in the caption, it is taken as a single '&' character, not underlined.

Default value:

True: Use the '&' character as the mnemonic key.(POW-TRUE)

COBOL picture:

S9(4) COMP-5

OLE data type:

VT_BOOL

Design time access:

Set and reference.

Execution time access:

Set and reference.

Backward compatibility attribute:

None.