April 27, 2024, 11:31:10 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Info Only Update - 07-18-2013

Started by LarryMc, July 18, 2013, 12:07:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LarryMc

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.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

LarryMc

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
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

LarryMc

Got the 48 commands documented in the help file.
Begun work on a decent demo to showcase all the functions.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Brian

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

LarryMc

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.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library