startFieldEnum Method
Initiate a field enumeration on the current screen.
HostScreenField HostScreen.startFieldEnum() |
Arguments
HostScreen
Required. HostScreen object.
Remarks
If the current screen is UNFORMATTED will return false, otherwise will return true.
The following c# example demonstrates the use of startFieldEnum and nextEnumField:
string GetScreenFieldsText(HostScreen oScreen)
{
StringBuilder sb=new StringBuilder();
oScreen.startFieldEnum();
HostScreenField field=oScreen.nextEnumField();
while(field!=null)
{
string text=string.Format("[{0},{1}]='{2}'\r\n", field.row, field.col, field.value);
sb.Append(text);
field=oScreen.nextEnumField();
}
return sb.ToString();
}
Requirements
Flynet Viewer
See Also
HostScreenField | nextEnumField | getField
Applies To: HostScreen object
© 2016 Inventu Corporation, Flynet LTD