Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.37 Child Property (Array)

Description:

Contains a pointer to a Node object that is a child of a node. The pointers are contained in an array, so always use an index to reference the Child property.

Used in object:

Node

Value:

A pointer to a Node object.

You can set the index from 1 to the value of the Count property.

For example, to ensure that the third child of the second root node is visible you would code:

01 NODE-RF1 OBJECT REFERENCE 
            POW-CNODE.
01 NODE-RF2 OBJECT REFERENCE 
            POW-CNODE.
MOVE "Root"(2) OF TreeView1 
  TO NODE-RF1
MOVE "Child"(3) OF NODE-RF1 
  TO NODE-RF2
INVOKE NODE-RF2 "EnsureVisible"

Where POW-CNODE is a PowerCOBOL object class for nodes.

Default value:

None.

COBOL picture:

OBJECT REFERENCE POW-CNODE

OLE data type:

VT_DISPATCH

Design time access:

Not accessible.

Execution time access:

Reference only.

Backward compatibility attribute:

None.