The following functions have been completed for the grid control.
Quote
IWG_Create(WINDOW win, string caption, INT l, INT t, INT w, INT h, UINT id)
IWG_SetDim(WINDOW win, UINT id, INT r, INT c)
IWG_GetDim(WINDOW win, UINT id, INT r byref, INT c byref)
IWG_InitCellDat(WINDOW win, UINT id, INT r, INT c, string text, opt int celltype=1, opt int flags=0)
IWG_SetCellDat(WINDOW win, UINT id, INT r, INT c, string dat)
IWG_SetCellCombo(WINDOW win, UINT id, INT r, INT c, pointer dat)
IWG_SetCellSub(WINDOW win, UINT id, INT r, INT c, pointer dat)
IWG_GetCellDat(WINDOW win, UINT id, INT r, INT c),string
IWG_SetAllRowH(WINDOW win, UINT id, INT h)
IWG_SetColW(WINDOW win, UINT id, int c, INT w)
IWG_SetGridProt(WINDOW win, UINT id, int p)
IWG_SetCellProt(WINDOW win, UINT id, INT r, INT c, int p)
IWG_GetCellDecPlaces(WINDOW win, UINT id, INT r, INT c),int
IWG_GetCellNoSymbol(WINDOW win, UINT id, INT r, INT c),int
IWG_GetCellNegParenth(WINDOW win, UINT id, INT r, INT c),int
IWG_GetCellRoundDec(WINDOW win, UINT id, INT r, INT c),int
IWG_GetSymbol(WINDOW win, UINT id, INT r, INT c),string
IWG_SetSymbol(WINDOW win, UINT id, INT r, INT c, string sym)
IWG_SetCellNegParenth(WINDOW win, UINT id, INT r, INT c, int pr)
IWG_SetCellDecPlaces(WINDOW win, UINT id, INT r, INT c, int dp)
IWG_SetCellNoSymbol(WINDOW win, UINT id, INT r, INT c, int nosym)
IWG_SetCellRoundDec(WINDOW win, UINT id, INT r, INT c, int round)
The following cell types currently have basic functionality.
Quote
IWGLABEL Static text
IWGANY Any printable character
IWGTXTNUM Alpha-Numeric
IWGTXT Alpha
IWGNUMI Numeric Integer
IWGNUMF Numeric Float
IWGHEX Hex
IWGCOMBO Combobox
IWGCHECK Checkbox
IWGBUTTON Edit plus button to call user subroutine
IWGMASK Masked input
IWGMONEY Currency input
The following flags can be applied to any cell containing letters
QuoteIWG_CASE_ANY Case as typed
IWG_CASE_UPPER Forced to Upper case
IWG_CASE_LOWER Forced Lower case
The following alignment flags can be applied to any cell's contents:
QuoteIWG_LEFTALIGN Left align text in cell
IWG_RIGHTALIGN Right align text in cell
IWG_CENTERALIGN Center text in cell
As soon as I can get all the above documented in a help file I will release a fully functional alpha version of the library for anyone to use for free.
Then I will continue on with all the additional commands.
While working on help file I decided there was a need for a static text cell type.
I called in @IWGLABEL and added it to the list above.
Modified he source code to support the new cell type.