![]() |
Menu issue
Is it possible to have selectable text lines in a GuiScrollCtrl without inserting a txt document? I tried many different times, but when i tryed to add text it always changed the name of the window and no text within the box it's self.
|
Have you tried either a GuiTextCtrl or a GuiMLTextCtrl (for multiple lines)?
If not, then those links should contain examples. You just need to create the text control you want within the GuiScrollCtrl (I'm assuming that you have at least some experience with Gui Controls. If you find any of this confusing, don't be afraid to ask again!). |
Well what i was planning on making a menu that displayed what players are on what level, and i was trying to make it so you could select the level where people are and then warp to it, and im pretty sure you cant do it with text (not selectable i don't think) and i don't really need multiple lines, but thanks for the suggestion. So, ya. :]
|
You can, you just have to call gui.onSelect() or whatever. :P
|
http://wiki.graal.net/index.php/Crea...uiTextListCtrl
Could work. Just click a row and you can have it warp you. Quote:
|
Quote:
In that case, Twinny has it right ;). |
@ Twinny : when ever you select something on a gui the function, GuiName.onSelect() is called, I forget the params exactly but it returns, ID, row, etc...
I also corrected my grammar in it too, sorry. <3 |
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 11:04 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.