Fields

<< Click to Display Table of Contents >>

 

Fields

Collection Returns a Collection of E3Browser Fields, which contains a list of all table fields, allowing its reference through the items of this Collection. This is a read-only property. Default value of this property is empty. The next script contains an example of using this property.

Sub E3Browser1_Click()
  ' Changes the color of Field1
  Set fields = Screen.Item("E3Browser").Fields
  Set field1 = fields.Item("Field1")
  field1.BkColor = RGB(255, 0, 0) ' Red
  ' Shows how many fields this E3Browser contains
  MsgBox fields.Count
  ' Shows the number of fields of this E3Browser
  For Each field In fields
    MsgBox field.Name
  Next
End Sub

 

For more information about the Collection returned by this property, please check topic Collection of E3Browser Fields.

Was this page useful?