![]() |
Columns & GUI's
Well, Here is the problem, I have a GUI all set up but, when i'm using the GuiTextListCtrl I have no clue how to add the actual columns to it or name the columns, Since there isn't much on graal wiki or anyother places. Anyone mind helping.
-Thanks in advance. |
Do you mean rows?
|
Not rows, I'm not talking horizontal i'm talking vertical columns.
|
You can't make vertical columns that I know of.
|
First\tSecond\tThird
Would put each word in a seperate column. You use the columns variable in the control to define the columns. columns = {0, 60, 120}; Would put the first column at 0, second at 60, and third at 120 pixels. http://wiki.graal.net/index.php/Crea...uiTextListCtrl |
Doesn't seem to work Inverness
Here is the script snippet, Maybe that can help everything else is correct the columns just don't show. new GuiTextListCtrl("Shop_List_of_weapons") { profile = GuiBlueTextListProfile; x = 13; y = 105; width = 324; clearrows(); addrow(0,"Item_1"); addrow(1,"Item 2"); setSelectedRow(1); columns = {0, 60, 120}; |
Instead of "Item_1" use "Item\t1"
It will display the "1" in the second column at pixel 60 |
Thank you Stefan ;)
|
| All times are GMT +2. The time now is 07:44 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.