![]() |
Gui Scripting
I've gotten so far scripting this GUI window by reading the wiki and examining other scripts and the functions they used. But o I'm sort of stuck any and all help would be appreciated as to how I would go about doing this right. >_<
PHP Code:
|
I hope you want to turn it on somewhere else in the script. You forgot the # for Clientside ( //#CLIENTSIDE ), and forgot to close the { bracket for turning it on. Also, I dont think scripts can go back if they call a function (if they call a function, that function needs to be below it). And the part
PHP Code:
keycode is the code given within the onKeyPressed params, so it would either be PHP Code:
PHP Code:
|
I'm scripting the GUI for a window. XD Also I've gotten alot of help from Warcaptain and have come to understand it more.
|
Ok. Now I've gotten very far with this GUI script with help from Warcaptain, Master Storm and Kaidenn. But everytime I set the GUIButtonProfile. My menu gets messed up.
PHP Code:
|
Quote:
Also, you are not setting any properties of your tab, and where is 'Blah' defined? |
Don't forget to use thiso.catchevent(this,"onAction","function")
for the buttons |
Quote:
PHP Code:
|
catchevent allows you to assign multiple buttons the same event.
|
PHP Code:
http://wiki.graal.net/index.php/Crea...d_Window_Panes A link to a guide about Tabbed Panes from Graal Wiki |
What is it with you people being unable to indent correctly? :mad:
Also, Twinny. You don't need to add the control to GraalControl again, and check that your window exists before destroying it or you will just create F2 console errors. PHP Code:
|
Quote:
PHP Code:
|
| All times are GMT +2. The time now is 06:56 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.