![]() |
GuiTextListCtrl
Hey, how do you add text to a second column created with a GuiTextListCtrl? I'm not even sure how I could do this; I don't see any functions I could use. o_O For say, I wanna' rescript the profile window or add a debug function with a variable and it's value next to each other, using the GuiTextListCtrl. :D
|
o.o I haven't a clue
I suppose I could spend a day or two and figure it out if you like. |
Any global out there willing to give me a hand? :(
|
not really ;)
I hear yen is looking for something to do...... ^_~ On a more serious note, my offer still stands. Not sure when I can schedule that day though, as I'm going to be busy for the next month+ with the move.... |
Well if you wish to, then go ahead Cal o-o :D
|
Who doesn't know how to make columns?
(Lawl. ;)) |
Quote:
Well anyway I figured it out so I'll share my knowledge with the rest of Graal. In the GuiTextListCtrl, there is an option called 'columns' NPC Code: Tabulators, hmm, let's see, that's "\t" in console text, right? Right! So let's do this: NPC Code: So yeah, that would mean that str2 would appear 32 pixels to the right of the left edge, and str1 would appear at the left edge. Those numbers, "0 16 32 48", are where, in pixels, the tabulators stop. So the first \t you add stops at a 16 pixel indent, then the second one stops at 32, then the third 48. Note, if you add a fourth indent without specifying where the indent ends, it just won't show the text. So, if I do NPC Code: With the column setup I set before, then str2 would not show inside the GuiTextListCtrl. I wonder if I've confused anyone o-o |
Quote:
|
Quote:
|
oh, okay. forgiven.
bad yen. no cookie. |
| All times are GMT +2. The time now is 02:52 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.