Flynet Viewer .NET Programmer's Reference

activeMapName Property (string)

activeMapName Property (string)

Previous topic Next topic  

activeMapName Property (string)

Previous topic Next topic  

 

Return or set the name of the active map.

 

HostScreen.activeMapName

 

Arguments

 

HostScreen

 Required. HostScreen object.

 

Remarks

 

READWRITE.

 

The getScreenName, getScreenID or getScreenDef methods have to be executed before this property will contain a valid value.

 

If a screen definition contains more than one field map definition, use the activeMapName property to switch definitions.

 

For example, the following XML shows the screen definition for the "AcctTrans" screen, with two field map definitions, "default" and "rowData". The only way to change the active field map from "default" is to set the activeMapName property to "rowData".

 

<Screen name="AcctTrans">

 <Recognize type="include" row="1" column="74" text="XYL1003"/>

 <FieldMap name="default">

         <Field name="MoreIndicator" row="23" column="73" length="7"/>

 </FieldMap>

 <FieldMap name="rowData">

         <Field name="Date" row="9" column="4" length="6"/>

         <Field name="Action" row="9" column="11" length="16"/>

         <Field name="Description" row="9" column="57" length="12"/>

 </FieldMap>

</Screen>

 

 

Requirements

 

Flynet Viewer

 

See Also

 

getScreenDef | getScreenMap | getScreenName | getScreenID | mappedGet | mappedSet | mappedRowGet | mappedRowSet

 

Applies To: HostScreen object

 


© 2016 Inventu Corporation, Flynet LTD