Creating Tables

Posted By: Yashas

Creating Tables - 11/24/12 15:55

How do I display a Table??
I want to represent this data in the form of a table

Variable Name Name2
Power 1 1
ABC a b

I want to create something lyk tis
_________________________________
|Variable | Name | Name2 |
---------------------------------
| Power | 1 | 1 |
---------------------------------
| ABC | a | b |
---------------------------------

I was referring to some functions named draw_line,draw_box.
Can I create those tables in a PANEL??
If not ,how do I create using draw_line,draw_box or what ever.
Example pls...
I tried using draw_line but it comes just for one frame.I had put it in a loop but confusing.

Thanks
Posted By: Bone

Re: Creating Tables - 11/24/12 16:39

There is a simple example in the manual. Look at draw_line
The line is only visible for one frame so you have to
use draw_line in a loop.

I would use panels. You can create a panel at runtime and style them. after that only calculate the right position
Posted By: Uhrwerk

Re: Creating Tables - 11/25/12 01:41

Why not just using digits in a panel ?
© 2024 lite-C Forums