Show/Hide Toolbars

Inventu Viewer+ .NET Programmer's Reference

Navigation: HostScreen Class > Methods

startFieldEnum Method

Scroll Prev Top Next More

 

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

 

Inventu Viewer+

 

See Also

 

HostScreenField | nextEnumField | getField

 

Applies To: HostScreen object

 


© 2022 Inventu Corporation