Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.11 AutoChange Property

Description:

Determines whether double click makes the double-clicked folder the current folder.

Used in control(s):

FolderList

Values (with constants):

True - Makes the folder the current folder.(POW-TRUE)

False - Does not make the folder the current folder.(POW-FALSE)

If you set the property to True and double-click a folder, the current folder is changed but the change is not notified to other controls. Therefore you need to add code like that shown below in the Change event or other events.

For example in the FolderControlName-Change event:
ENVIRONMENT DIVISION.
DATA DIVISION.

WORKING-STORAGE SECTION.

PATH PIC X(260).

PROCEDURE DIVISION.

MOVE "Path" OF FolderControlName

TO PATH
MOVE PATH

TO "Path" OF FileControlName

Default value:

False(POW-FALSE)

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.