-
Tables of data?
Hi folks,
Quick question - does anyone know any tips/methods to present a table of data?
eg like: http://image.com.com/gamespot/images..._screen008.jpg
The objects like the datagrid, listview have really poor customisation for their look/feel (unless I've missed something) which makes them pretty unusable for any games.
Was thinking of using an array and fastloop to render string text onto the screen, but seems pretty daft for something that should be inbuilt...
Am sure I've missed something!
-
Re: Tables of data?
No, I don't think you have missed anything. An array or INI++ would work.
Marv
-
Re: Tables of data?
hmm, am thinking that'll cause all sorts of issues as I'd have to manually wrap the cell contents if it was too long, add scrollbars etc.
Very problematic for such a simple requirement
-
Re: Tables of data?
You could customize your own GUI with a list or something.
-
Re: Tables of data?
Hello.
I have a related problem, although it's not about the presentation of a table.
I'm trying to create a table of data with 2 columns that scrolls up and down. One column is just a name (string), but the other is a number drawn from a data variable (data).
I've tried a number of different approachs, but I'm not sure how to get this to work.
I'll highlight my problems thus far. Perhaps someone can tell me where I went wrong, or how I could make my string/data table.
1/ I tried using the list app. It scrolls down nicely. But it only displays strings - I can't get it to display a number obtained from data (as you would do with a counter).
2/ I found the same problem with listview.
3/ I thought about using a sub-app, but it seems that can't scroll (plus I couldn't get it work properly, but nm). This is a shame as theoretically I could've made the table using strings and counters in another frame, then run them in a scrollable sub-app - but again, sub-app doesn't seem to be scrollable.
So - does anyone know how I can make a scrollable table with strings and data in MMF2?
Thanks,
Andrej
-
Re: Tables of data?
@ APorovic -
Use str$() to convert a number to a string.
@ alphabeta279 -
You're not missing something. There simply isn't a single object than can offer all the options you want (you are asking a lot, to be honest).
I normally use a grid of "active system box" objects. It's really not that difficult.