![]() |
Is this possible?
I'm making a little add/remove system for my events team admin. I'm doing it with gui scripts. I have a textlist box that lists all the ETs from a text file (or I will soon, I have not made it yet) and I was wondering if I could have a popup menu within the textlist. As in, you right click one of the accounts on the list, and a popup with a remove button will appear, click, and bam. removed.
Kind of like how the addcustommenuentry works with the scripted playerlist, but I'm not sure how to do it with GUIs, unless it's the same? I haven't tried yet and thought I would come here and get some feedback. |
http://wiki.graal.net/index.php/Crea...ontextMenuCtrl
It doesn't give an example or anything but you should note to not touch the x or y as it will cause problems. The x and y are set when you call open(x, y); |
There was some example in the GraalShop script from Jerret, something like that:
PHP Code:
|
openatmouse();
I create the context menu ahead of time and when I detect a right click I use TheContextMenu.openAtMouse(); |
| All times are GMT +2. The time now is 06:16 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.