FlexForm class

It is a customized dockable Form object; it owns all Form’s features.

The user can drag a FlexForm object and dock it at any place. Can also drag a FlexForm object into a sheet and make it one of the pages of the sheet.

§      Members

1)   public long ID { get; set; }               

Remarks

Every FlexForm object should have a unique ID. If its value is between FlexConstants.m_nUserDefinedControlStartID and

FlexConstants.m_nUserDefinedControlStartID, then its layout will be persistent; otherwise, its layout will not be saved.

 

2)   public virtual FLEX_DOCKING_ALIGN FlexDock { get; set; }

Remarks

Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent. It can be one of the following values,

§    NONE:             

The control is not docked.

§    TOP:                

The control's top edge is docked to the top of its containing control.

§    BOTTOM:         

The control's bottom edge is docked to the bottom of its containing control.

§    LEFT:              

The control's left edge is docked to the left edge of its containing control.

§    RIGHT:             

The control's right edge is docked to the right edge of its containing control.

 

§      Methods

1)   public void ShowForm()               

Remarks

This make the FlexForm object visible.