Got individual cell colors working.
The attached zip contains an exe demonstrating the cell colors.
A 1/2 second timer randomly changes the foreground and background colors of each of the configured but not protected cells in the grid.
IWGrid now has the functions shown below.
When I get them all documented I will post the updated library and a new demo.
IWG_Create
IWG_DeleteCell
IWG_GetCellDat
IWG_GetCellDecPlaces
IWG_GetCellNegParenth
IWG_GetCellNoSymbol
IWG_GetCellRoundDec
IWG_GetCellButtonCB
IWG_GetDim
IWG_GetSymbol
IWG_InitCellDat
IWG_SetCellCombo
IWG_SetCellDat
IWG_SetCellDecPlaces
IWG_SetCellNegParenth
IWG_SetCellNoSymbol
IWG_SetCellProt
IWG_SetCellRoundDec
IWG_SetCellButtonCB
IWG_SetCellColor
IWG_GetCellFGColor
IWG_GetCellBGColor
IWG_SetDim
IWG_SetGridProt
IWG_SetSymbol
IWG_SetFont
IWG_SetGridColor
IWG_ShowHeader
IWG_ShowRowNumbers
IWG_AutoNumberHeader
IWG_SetHeaderHeight
IWG_DeleteAllCells
IWG_SetTitle
IWG_GetRows
IWG_GetColumns
IWG_GetColumnWidth
IWG_SetColWidth
IWG_GetRowHeight
IWG_GetHeaderRowHeight
IWG_SetCursorPosition
IWG_HiLightRow
IWG_SetColumnAutoWidth
IWG_AutoAddRow
IWG_GetCurrentRow
IWG_GetCurrentCol
IWG_SetRowHeight
IWG_SetTitleHeight
IWG_SetEllipsis
Got the 48 commands documented in the help file.
Begun work on a decent demo to showcase all the functions.
Larry,
Looking at the list of commands, I see there is an IWG_SetCellProt and an IWG_SetGridProt,
but no corresponding "unprotect." Does the one command act like an on-off switch?
Brian
All the "Set" commands that are for on/off events use the same command with a 1/0.
I guess you could say I "set it on" and "set it off"
sort of like the SHOWWINDOW command.
Pretty straightforward.