PictureShow

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 PictureShow( SalNumber nWhat )

 The PictureShow method reads the picture data from the referenced file or from the database, and displays the picture in the control.

Parameters

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

Returns

When nWhat = Const.METHOD_Inquire: the return value is TRUE if a picture is currently not present in the control, FALSE otherwise.

When nWhat = Const.METHOD_Execute: the return value is TRUE if the picture was successfully fetched, FALSE otherwise.

Comments

For optimized performance when working over a slow network connection, it is possible for the user to turn off automatic fetch of BLOBs (which included pictures). When the automatic fetch is turned off, the PictureShow method can be used to download a single picture.