I don't have much to say about MSHFLEXGRID, I will tell you about the properties, method events that MSHFLEXGRID, and some skills that cannot be unknown.
1) Important properties of MSHFLEXGRID. MshflexGRID is very much, in fact, most of the properties and the appearance of the display of the grid. In MSDN, these properties are enough to get people dazzled (I believe you have no tolerance Survey). The commonly used properties, method events, and a brief description thereof will be listed below. In order to check. Properties Type Description ALLOWBISELECTOR BOOLEAN Returns / Sets a value, defined whether it is in the line or Columns will set the entire selected allowuseresizing enum setting / return a value, define if the user can adjust the grid line, the size of the column Backcolor Ole_Color setting / return to the background color backcolorband array / ole_color setting / return grid in a single grid BachcolorBkg OLE_COLOR Setting / Return to Grid Background Color BachcolorBKG OLE_COLOR Settings / Return End OLE_COLOR Settings / Return to Grid Fixed Units BackcolorHeader Array / OLE_COLOR Settings / Return Grid Head Unit background Backcolorindent Array / OLE_COLOR Settings / Return to the BackcolorSel Ole_Color Settings / Return Grid Select Unit Background Color Backcolorunpopulate Ole_Color Settings / Return Grid Non User Operation Area Background Color BandData Array / Long is unique Band Set / return any value,
Determine BandbandDisplay Enum in the code BANDBANDDISPLAY ENUM Definition BandBandDisplay ENUMSPLATIONAL RESULTS SYXPANDABLE ARRAY / BOOLEN Settings / Return Value Independent Band Can Fold or Expand the number of fields of Bandindent Array / long definition band Bandlevel Long Returns the total number of BANDs included BANDS Long Returns the total number of BANDs in the grid CELLALIGNMENT INTEGER setting / return a value to define the level of the current unit CellbackColor OLE_COLOR Defines whether the current unit is bold CellFontBold Boolean define whether the current cell is bold font CellFontItalic Boolean defines whether the current font current cell unit as defined font name CellFontSize String define the current font size of the unit CellFontStrikeThough Boolean define whether the current font for the sudden display unit CellFontUnderline Boolean define the current italics CellFontName String The font of the unit is a line CellfontWidth Single defines the font width of the current unit (point representation) CellFontColor OLE_COLOR Settings / Return the current cell's foreground color CellHeight Long Settings / Return the high CellLeft long of the current cell Return the left side of the current cell to CellPicture Stdpicture Settings / Returns CellPictureAlignment Integer Settings / Returns the image alignment of the current cell or a range of cells CELLTEXTSTYLE ENUM Settings / Return the current unit or the selected range unit text 3D style celltop long returns the vertical of the current cell Location CellType Enum Settings / Returns the Type of Current Cells (Standard. Secure) CellWidth Long Returns / Sets the Call String Settings / Return Grid Settings COL Array / Integer Settings / Return the level of the current unit Coordinate COLALIGNMENT ARRAY / INTEGER Settings / Return to the current column Align COLALIGNMENTBAND ARRAY / INTEGER Settings / Return Band Data Columns Aligned Collalign Mentfixed Array / Integer Settings / Return Fixed Unit Data Alignment COLALIGNMENTHEADER ARRAY / INTEGER Settings / Return Fixed Head Unit Data Alignment COLDATA AYYAY / LONG Setting / Return any value for standalone column settings,
Determining column colheader array / enum in the code Define whether each BAND header displays a column header display for each BAND column header display text ColisVisible Array / Boolen Back / Set No Colon is visible COLPOS Array / Long Returns a given column of the upper left corner and grid COLPSITION ARRAY / Long Settings Net Glone COLS long Back / Set the number of columns of the grid Column COLSEL Array / Long Settings / Return a range unit starting column ColWidth Array / Long Sets / returns the width of a column ColWordWrapOption Array / Integer set / return grid unit whether to permit the non-fixed WRAPColWordWrapOptionBand Array / Integer BAND defined grid is allowed WRAPColWordWrapOptionFixed Array / Integer defined fixed column Whether the unit allows WrapColWordWrapOptionHeader Array / Integer to define whether the header allows a separate column binding database field FillStyle Enum definition to change the other attributes of the text or unit affect all selected units or only affect the activity unit FixedCols long setting / Returns the number of columns for the fixed column FixedRows long setting / Return Row FocusRect Enum Define Controls The focus of the current unit represents Font StdFont Returns / Set the default font or all units FontBand Array / StdFont Settings / Return Each Band Use Text Font FontFixed Single Settings / Returns Fonts Fonts Fontheader Array / StdFont Settings / Return FontWidth Single Settings / Return Default Font Width FontWidthband Array / Single Settings / Return Band Wide Fontwidthfixed Single Settings / Return Fixed width fontwidthheader array / single settings for each header setting / Return Each header Forecolr OLE_COLOR Settings / Return Grid Non-Fixed Unit Used Prosthetic ForecoLorb And Array / OLE_COLOR Settings / Return Grid Each BAND Foreground ForecolorFixed OLE_COLOR Settings / Return Grid Fixed Unit The foreground color. ForecolorHeader Array / OLE_COLOR Settings / Return to the foreground of the grid head unit Forecolorsel OLE_COLOR Settings / Return Settings Unit Prospects FormatString String defines a format string to set the width, alignment of the grid column,
Fixed line text fixed column text GridColor OLE_COLOR Settings / Return GridColorband Array / OLE_COLOR Settings / Return GridColorFixed Ole_Color Settings Returns GridColorHeader Array / Ole_ColorHeader Array / Ole_ColorHeader Array / OLE_COLOR Set / return color gridColorindent Ole_Color Settings / Return to GridColorUnPopulate_color Settings / Return GriglinesBand in Grigline Enum Defining GriglinesBand in GriglinesBand between the Grigline Enum between the Grigline Enum between the grid unpopulated Array / Enum Definition GrigLinesFixed Enum Defines GriglinesHeader Array / Enum Definition GriglineSindent Array / Enum Definition Grignesindent Array / Enum Definition Grid Indent ARRAY / ENUM type GrigLinesWidth Integer GrigLinesUnpopulated defined type is provided between the grid lines of the Enum UNPOPULATED region line / return line between the grid cell width GrigLinesWidthBand Array / Integer set / return line width GrigLinesWidthFixed Integer disposed between each of the grid BAND / return net GrigLinesWidthHeader Array line width of the compartment fixing unit / Integer set / return line width of the mesh between the heads GrigLinesWidthIndent Array / Integer set / return line between the grid unit width GrigLinesWidthUnpopulated Integer INDENT set / return area between the grid UNPOPULATED Width Hieght Enum definition how and when a high-brightness display grid is selected unit Leftcol long meter MRP Mergecells Enum setting / return a value indicates how to combine Mergecol Array / Boolen with a record of the same content Setting / Return A Value indicates which columns can merge the content merge Mergerow Array / Boolen setting / return a value indicate which rows can be merged with Mouseco. l Long Return Mouse Corpoal Location Mouselow Return Return Returns Picture Stardu Return Picture Stdpict Return to MshflexGrid Control Snapshot PictureType Enum Settings / Return to Picture Type RedRAW Boolean Settings / Return a value, indicating whether the MSHFLEXGRIDR control is heavy in each change Paint ROW long settings / Return the vertical coordinate RowData Array / long of the current unit to set any value for each row, to configure whether the rowpandable boolean defines whether the current line can expand whether ROWEXPANDED Boolean returns a value indicates that the current line Whether to expand RowHeight Array / Long Settings / Return High RowHeightmin Long Settings / Return to the Minimum Height Rowisvisible Array / Boolen Setting / Return a value of the grid,
Indicates that a particular column can be seen if rowpos array / long returns a given row, the left corner of the left corner of the MSHFLEXGRID control, RouwPosition Array / Long Setting a grid line Return Return to the total number of rows of the grid or or Band's row Total number ROWSEL long setting / Return a range of units ROWSIZINGMODE ENUM Settings / Return a value indicates that the settings of the row are all rows that affect the grid or only affect the adjusted row Scrollbars Enum setting / return a value indicates that MSHFLEXGRID The scroll bar type ScrollTrack Boolean setting / return a value indicates that the grid content changes the selectionMode Enum settings when the user moves the scroll bar, change the SelectionMode Enum setting / return a value indicates that the MFHFLEXGRID control allows the selected type .sort enum Some Village Preparation Set Sorting Value Text String Settings / Returns a unit or a range of internal units TextArray Array / String does not change the Row, COL attribute, setting / return to any unit text content TextMatrix array / string setting / return to a certain Selected line, column of text content text content TextStyle Enum Settings / Return Grid Usually 3D Text Style TextStyleband Array / Enum Settings / Return Grid Band 3D Text Style TextStyfixed Enum Settings / Return Grid Each Fixed Row 3D Text TEXTSTYLEHEADER ARRAY / ENUM Settings / Return Grid 3D Text Style Toprow Long Settings / Return Grid Top Objective Return Version Integer Returns WordWrap Boolean Definition When you arrive at the boundary of the unit, grid The content of the unit WRAP2) MSHFLEXGRID Control Important method Method Description AddITEM Add a new line of Clear to the grid Clearstructure Clear Grid's structure (mapping information) Collapseall folding grid's specific all Row EXPANDALL Expand Grid A specific row of REMOVEIITEMs Clear a line from the grid ADDITEM and REMOVEITEM can be used to add or delete rows to the grid. If folded or expanded all the lines of a BAN, COLLLAPSEALL can be used And Expaandall method. Method clear can clear the content in the grid, but does not affect the grid, column number, if you want to clear the structure of the grid, including the name of the sequence and the numbers of the grid, should use the ClearsTRUCTURE method. MSHFELXGRID's primary event Collapse User Folded Grid One-line Compare When the Sort property is set to Customersort, allowing the user to define the ordering process Entercell When a new unit is a current activity unit (obtained) EXPAND users expand the grid Leavecell When a new unit becomes a current activity unit (leaving) RowColchange When a new unit becomes a current activity unit, the scroll user uses a keyboard, scroll bar scroll grid's content or mesh, SelchangeEvent, a new range, SELCHANGEVENT Unit is selected