DataItemZoom

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalBoolean DataItemZoom(SalNumber nWhat)

The DataItemZoom method creates the window associated with the view referenced by the data item. If that window supports data transfer it is populated with all objects matching the value specified in the data item.

Parameters

Name Description
SalNumber nWhat Standard method parameter. Possible values are Const.METHOD_Inquire, Const.METHOD_Execute, Const.METHOD_GetType

Returns

When nWhat = Const.METHOD_Inquire: the return value is true if there is a window associated with the referenced view, and that window is available. Otherwise the return value is false.
When nWhat = Const.METHOD_Execute: the return value is true if the window is successfully created, false otherwise.

Comments

Applications associate windows with views by calling the Var.Component.WindowRegister Method.