SetVDL

Sets a screen to display a specific VDL.

Synopsis

Err SetVDL (Item screenItem,Item vdlItem)

Description

This call associates the VDL specified by the vdlItem argument with the screen specified by the screenItem argument.

Every screen has an associated VDL. After SetVDL(), when DisplayScreen() is called referring to the specified screen the new VDL is used to create the display.

Arguments

screenItem
Item number of a screen structure.
vdlItem
Item number of the associated VDL.

Return Value

This call returns the item number of the current VDL (the last one submitted) or an error code (a negative value) if an error occurs.

Implementation

Folio call implemented in Graphics folio V20.

Associated Files

graphics.h, graphics.lib

See Also

DisplayScreen(), SubmitVDL(), ModifyVDL(), DeleteVDL()