The FlexGridX OCX
________________________________________
The FlexGridX control displays and operates on tabular data. It allows complete flexibility to input and format tables containing strings and pictures.

The FlexGridX is an extended FlexGrid. It was specifically developed to behave as a controlled data entry tool. When the user clicks on a cell in the FlexGrid, an editing control such as a TextBox, MaskEdBox, ComboBox, ImageCombo, DTPicker, NMPicker or CheckBox can appear. 

The type of editing control can be specified by setting the InputStyle property.  

By setting the MaintainData property to True, the FlexGrid will maintain a CellData corresponding to the Text in each cell of the control.


Syntax

FlexGridX

Remarks

You can put text, a picture, or both in any cell of a FlexGrid. The Row and Col properties specify the current cell in a FlexGrid. You can specify the current cell in code, or the user can change it at run time using the mouse or the arrow keys. The Text property references the contents of the current cell.

You can determine the type of editing control to be used. This can be done be setting the InputStyle property for the control, or the ColInputStyle for the current column in the control.

If a cell's text is too long to be displayed in the cell, and the WordWrap property is set to True, the text wraps to the next line within the same cell. To display the wrapped text, you may need to increase the cell's column width (ColWidth property) or row height (RowHeight property).

Use the Cols and Rows properties to determine the number of columns and rows in a FlexGrid control.

________________________________________
For more Visit my web site at : http://www.geocities.com/farhadms/index.html
