2.2.10.3 FormDataBlock

Specifies the properties of the Form that are 4 bytes or smaller and are not set to the file format defaults. If the corresponding bit in the PropMask of the FormControl that contains this FormDataBlock is set to zero, the property value MUST NOT be stored in the file.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

BackColor (optional)

ForeColor (optional)

NextAvailableID (optional)

BooleanProperties (optional)

BorderStyle (optional)

MousePointer (optional)

ScrollBars (optional)

Padding1 (variable)

...

GroupCnt (optional)

Padding2 (variable)

...

MouseIcon (optional)

Cycle (optional)

SpecialEffect (optional)

Padding3 (variable)

...

BorderColor (optional)

Padding4 (variable)

...

LengthAndCompression (optional)

Padding5 (variable)

...

Font (optional)

Padding6 (variable)

...

Picture (optional)

Padding7 (variable)

...

Zoom (optional)

PictureAlignment (optional)

PictureSizeMode (optional)

Padding8 (variable)

...

ShapeCookie (optional)

Padding9 (variable)

...

DrawBuffer (optional)

Padding10 (variable)

...

BackColor (4 bytes): An OLE_COLOR that specifies the value of the BackColor property.

ForeColor (4 bytes): An OLE_COLOR that specifies the value of the ForeColor property.

NextAvailableID (4 bytes): An unsigned integer that specifies the value of the NextAvailableID property.

BooleanProperties (4 bytes): An unsigned integer that specifies the value of the BooleanProperties property.

BorderStyle (1 byte): An fmBorderStyle that specifies the value of the BorderStyle property.

MousePointer (1 byte): An unsigned integer that specifies the value of the MousePointer property.

ScrollBars (1 byte):  A FormScrollBarFlags that specifies the value of the ScrollBars property.

Padding1 (variable): Undefined and MUST be ignored. The size of this field is the least number of bytes required to align the following property, as specified by PaddingAndAlignment.

GroupCnt (4 bytes): A signed integer that specifies the value of the GroupCount property.

Padding2 (variable): Undefined and MUST be ignored. The size of this field is the least number of bytes required to align the following property, as specified by PaddingAndAlignment.

MouseIcon (2 bytes): MUST be set to 0xFFFF when the PropMask.fMouseIcon of the FormControl that contains this FormDataBlock is set to 1. Not present when PropMask.fMouseIcon is set to zero.

Cycle (1 byte): An fmCycle that specifies the value of the Cycle property.

SpecialEffect (1 byte): An fmSpecialEffect that specifies the value of the SpecialEffect property.

Padding3 (variable): Undefined and MUST be ignored. The size of this field is the least number of bytes required to align the following property, as specified by PaddingAndAlignment.

BorderColor (4 bytes): An OLE_COLOR that specifies the value of the BorderColor property.

Padding4 (variable): Undefined and MUST be ignored. The size of this field is the least number of bytes required to align the following property, as specified by PaddingAndAlignment.

LengthAndCompression (4 bytes): A CountOfBytesWithCompressionFlag that specifies the size and compression of the Caption property.

Padding5 (variable): Undefined and MUST be ignored. The size of this field is the least number of bytes required to align the following property, as specified by PaddingAndAlignment.

Font (2 bytes): MUST be set to 0xFFFF when the PropMask.fFont of the FormControl that contains this FormDataBlock is set to 1. Not present when PropMask.fFont is set to zero.

Padding6 (variable): Undefined and MUST be ignored. The size of this field is the least number of bytes required to align the following property, as specified by PaddingAndAlignment.

Picture (2 bytes): MUST be set to 0xFFFF when the PropMask.fPicture of the FormControl that contains this FormDataBlock is set to 1. Not present when PropMask.fPicture is set to zero.

Padding7 (variable): Undefined and MUST be ignored. The size of this field is the least number of bytes required to align the following property, as specified by PaddingAndAlignment.

Zoom (4 bytes): An unsigned integer that specifies the value of the Zoom property.

PictureAlignment (1 byte): An unsigned integer that specifies the value of the PictureAlignment property.

PictureSizeMode (1 byte): An unsigned integer that specifies the value of the PictureSizeMode property.

Padding8 (variable): Undefined and MUST be ignored. The size of this field is the least number of bytes required to align the following property, as specified by PaddingAndAlignment.

ShapeCookie (4 bytes): An unsigned integer that specifies the value of the ShapeCookie property.

Padding9 (variable): Undefined and MUST be ignored. The size of this field is the least number of bytes required to align the following property, as specified by PaddingAndAlignment.

DrawBuffer (4 bytes): An unsigned integer that specifies the value of the DrawBuffer property.

Padding10 (variable): MUST be set to zero. The size of this field is the least number of bytes required to make the total size, in bytes, of this FormDataBlock divisible by 4.