Hi, Boki:
I have gone through areas in my big project which uses NextGrid the most and have consolidated by questions regarding how to convert NextGrid5 to 6. Because users have been experiencing blacked-out grids with v5 I have been looking forward to v6 for some time now. There is no going back for me and I cannot see the value of slowly moving from v5 to v6, so I really need your help! Thank you!
First, can you confirm the column type mapping. I have an asterisk * next to those that I actually use.
Column Types Mapping
*TNxTextColumn6= TNxTextColumn
*TNxButtonColumn6 = TNxButtonColumn
TNxIntegerColumn6
TNxFloatColumn6
*TNxNumberColumn6 = TNxNumberColumn
TNxIncrementColumn6 = TNxIncrementColumn
*TNxMemoColumn6 = TNxMemoColumn
*TNxGetDateValueEvent = TNxTimeColumn/TNxDateColumn not sure which
*TNxCheckBoxColumn6 = TNxCheckBoxColumn
*TNxComboBoxColumn6 = TNxComboBoxColumn
TNxListColumn6 = TNxListColumn
TNxCheckComboBoxColumn6
TNxToolbarColumn6
TNxSideEditNumberColumn6
*TNxProgressColumn6 = TNxProgressColumn
*TNxIconColumn6 = TNxImageColumn
TNxGraphicColumn6 = TNxGraphicColumn
TNxColorColumn6 = TNxColorColumn
TNxTrackbarColumn6
TNxHTMLColumn6 = TNxHtmlColumn
*TNxTreeColumn6 = TNxTreeColumn
TNxPropertyListColumn6
???????????????????? = TNxRateColumn
???????????????????? = TNxPopupColumn
???????????????????? = TNxStringsColumn
???????????????????? = TNxCalcColumn
???????????????????? = TNxHyperlinkColumn
This next batch of questions regards how I can get the same functionality from V6 vs V5:
TNxColumn
DefaultWidth <== I use this
HighlightButton
ShowLines (TreeColumn) <== I use this
DefaultWidth, CheckBox col
Options, Checkbox
DrawingOptions, Checkbox
DefaultWidth, Text col
Options, Text col
TNextGrid6:
Missing Properties/Events
AppearanceOptions
EnableVisualStyles
GridLinesColor <== I use this property
HeaderStyle
HighlightedTextColor
Options <== I use this
RowSize <== I use this
SelectMOveDirection
OnApplyEditText
OnCellColoring <== I use this
OnEditText <== I use this
OnSelectCell = OnSelect?
OnCellFormating
OnExpand <== I use this
OnColumnResize
OnEdit
OnHeaderClick <== I use this
also. I use everything in this list
Missing:
TCellState: csSelected, etc
Grid.Columns.Exist
Grid.Cell[].Clear
Grid.GetRowAtPos
Grid.GetLevel
Grid.Columns[ACol].Options coEditing
Grid.HasChildren
Grid.Expanded
TNxComboBoxColumn6.InputValue
Grid.Columns[ACol].Display
Grid.Columns[ACol].Display.asBoolean
TNxToolButton.OnClick
Grid.SlideSelectionColor
Grid.OnCellHint
Grid.OnHeaderDblClick
Grid.GridSpace; TGridLinePosition
Grid.OnChange
Grid.OnCustomDrawHeader
Grid.InnerWidth
Grid.HeaderSize
TNxTreeColumn.Index
TNxNumberColumn.Index
AddChildRow(Grid.SelectedRow, crLast); crLast is undeclared
Grid.GetFirstChild
Grid.GetLastChild
Grid.GetNextSibling
Grid.SelectedColumn
Grid.FirstRow
Grid.Columns.ColumnType, no ctString, ctBoolean, ctDate
Grid.Columns.Editor
Grid.GetCellRect
Grid.GetCellTop
Grid.ScollToRow
Grid.SelectLastRow
Grid.RefreshRange
TNxCustomColumn(6) what to replace with?
Cell.FontStyle
Grid.RowVisible
Thank you for your help!
Best regards,
Chuck