Worklog for Scaremonger
[MAXGUI] TTableview
Return to Worklogs
| ||
With Brucey converting wxWidgets to Blitzmax, this project seems a little pointless now. Development has ceasd. ________________________________________ www.itspeedway.net | scaremonger.net MODULES: ITS_Win32service.mod |
| ||
Spent all day on this. Yawn... Just need to test, and I'll publish the code. ________________________________________ www.itspeedway.net | scaremonger.net MODULES: ITS_Win32service.mod |
| ||
Fixed bug in redraw() Added .cellpadding() .cellspacing() ________________________________________ www.itspeedway.net | scaremonger.net MODULES: ITS_Win32service.mod |
| ||
Ok, I guess I need to produce this... Exported Methods - TTableview .create() .cols%( count% ) Gets or Sets the number of columns .rows%( count% ) Gets or Sets the number of rows .cell( column%, row%, text$ = "" ) Sets text in the specified cell .JustifyColumn( column%, Justify%=LABEL_LEFT ) Justifies a column, Can be LABEL_LEFT, LABEL_RIGHT or LABEL_CENTER .size( columns$, rows%) Resizes the table. .rowheight( height% ) Sets the row height .colwidth( width% ) Sets the column width .fillrow( row%, data$ ) Fills row with data. (Data contains Comma seperated values). .setcolor( red%, green%, blue% ) Sets the table background color .cellpadding%( padding% ) Gets or sets the cellpadding .cellspacing%( spacing% ) Gets or sets the cellspacing ________________________________________ www.itspeedway.net | scaremonger.net MODULES: ITS_Win32service.mod |
| ||
I cannot believe there is not a Grid control in Maxgui! Anyway... I've written one (Well started anyways). I will probably keep developing it if anyone is interested; but for now, it does the job I needed it for. Here's some test code: TTableview And you'll also need this library file... StringSplit.bmx ________________________________________ www.itspeedway.net | scaremonger.net MODULES: ITS_Win32service.mod |