TypeGet

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.

SalString TypeGet(  )

The TypeGet method gets the type of the transfer being done.

Returns

The return value is the type of transfer being done.

Comments

Applications use this method to handle special types of transfers (typically the ones initiated by the framework).

The framework uses this method to indicate the following transfer types: ZOOM, CREATE_WINDOW.

Example

Function: FrameStartupUser
   Actions
       If DataTransfer.TypeGet( ) = 'ZOOM'
          Call InitFromTransferredData( )
       Else
          <init in some other way>
C# code
sType = Var.DataTransfer.TypeGet();
if (sType == "__ZOOM") 
{
	// Zoom using the Navigation History, convert to a QUERY instead
	Var.DataTransfer.TypeSet("QUERY"); 
}
...........