FormFix v6.0 for .NET - Updated
Field
Developer Guide > How To > Use FormDirector > Store Data & Operations > Field

Create a Field

  1. Create an instance of the Field using a using the Field constructor.
  2. Set the Location, Name, and UserTag of the field.
  3. Set the Construction property
    1. Set the Type and Content strings of the Construction property to represent the operation to create the field clip. See Storing Data & Operations > DataItem. Also see Integrate with FormFix for information on FormFix Operations and Form Identification Operation.
    2. Set the value of the Construction property to this DataItem
  4. Add to the Operations collection
    These are operations are to be performed on a field clip after the construction operation has been performed. See Integrating with Other Components.
    1. For each operation to be added to the collection
      1. Create a DataItem to represent the operation to be performed on the field clip.
        See Storing Data & Operations > DataItem. See also Integrate with Other Components.
      2. Add this DataItem to the Operations collection.
        See also Use OtherDataItems: An Example.
  1. Add to the OtherDataItems collection
    1. For each additional DataItem that needs to be stored
      1. Create a data items
      2. Add it to the collection
  2. Associate the field with a FormDefinition
    1. Add the field to the Fields collection of a FormDefinition

Write to Persistent Storage

A Field is written to persistent storage when the FormDefinition instance it is associated with is written to persistent memory. See FormDefinition Write.

Load from Persistent Storage

A Field, stored in persistent storage, is loaded when the FormDefinition it is associated with is loaded from persistent storage. See FormDefinition Read.

See Also
Is this page helpful?
Yes No
Thanks for your feedback.