I'm currently in the process of developing a Hi-Score table for my game. In doing this I've come across a couple of problems -
1) Is it possible to highlight a particular row of the table, either by making the font bold or changing the font colour?
2) Can the background colour of the table be changed? My table is called "ScoresTable", and I've tried ScoresTable.Color=cWhite but this only appears to change the background colour of the cells, the rest of the table is still dark grey.
3) Below is a section of my code that I use to set the headers
To prevent the scroll bar from showing I have too make one of the columns slightly smaller.
Thanks in advance,
RandomCoder
1) Is it possible to highlight a particular row of the table, either by making the font bold or changing the font colour?
2) Can the background colour of the table be changed? My table is called "ScoresTable", and I've tried ScoresTable.Color=cWhite but this only appears to change the background colour of the cells, the rest of the table is still dark grey.
3) Below is a section of my code that I use to set the headers
ScoresTable.AddCol(cString,"Pos",ScoresTable.Width*.15,True)
ScoresTable.AddCol(cString,"Level",ScoresTable.Width*.2,False)
ScoresTable.AddCol(cString,"Accuracy",ScoresTable.Width*.3,False)
ScoresTable.AddCol(cString,"Date",ScoresTable.Width*.35,False)
I set the width of each header/column as a percentage of the table width (shown in bold) but this causes the scroll bar to be displayed - WHYScoresTable.AddCol(cString,"Level",ScoresTable.Width*.2,False)
ScoresTable.AddCol(cString,"Accuracy",ScoresTable.Width*.3,False)
ScoresTable.AddCol(cString,"Date",ScoresTable.Width*.35,False)
To prevent the scroll bar from showing I have too make one of the columns slightly smaller.
Thanks in advance,
RandomCoder