Specifies whether fields are to be stored hierarchically or flattened out in the Fields property. Syntax: property ObjectView: Boolean; Description: ObjectView affects the way the Fields property stores object fields and the way data-aware grids display ADT and array fields. When ObjectView is True, the fields are stored hierarchically in the Fields property, meaning any child fields of an object field are referenced by the object field and don't appear sequentially after the object field in the TFields.Fields array. When ObjectView is False, the fields are stored sequentially in the Fields property, meaning any child fields of an object field are stored after the object field as siblings in the Fields array. When ObjectView is False, object field types, such as TADTField, are not created. This switch is provided for increased compatibility with older data-aware controls, which may not be able to handle object field types properly. The default is False for TMySQLDataSet. |