Confirmation box troubles
HTML Code:
function WarpAIS_Button.onAction(){ in short... Action --> Confirm --> If true, do action |
You should style the code first. Can often help to find errors.
Now what you could do is (as far as I understood it correctly): PHP Code:
|
It is of utter importance that you style your code before posting it. If you don't know how please learn and use my GS2 Style in the mean time: http://fp4.ca/gs2beautifier
Sounds like you want to create a 'confirm' dialog window. You need to use waitfor to accomplish that. I explain in my guide below: http://forums.graalonline.com/forums...hp?t=134261899 |
Quote:
|
Actually, no problem not solved yet...
PHP Code:
|
Quote:
Try setting visible to false instead of using hide(). If that doesn't work you can get around that by removing the hide() code in the onReplied event and doing this instead: PHP Code:
|
Quote:
My code is styled? I style it like I do in C++... standardized style. (Except for the last function in my latest post) |
Quote:
We use 1TBS, 2 (hard) space tabstop or you will be eaten alive. Also, there is no standard style for C++ and I am not gonna open that bucket of worms. But 1TBS 4 lyfe. |
Quote:
and x = 1; Same thing. And if anyone really gets confused by that... I don't even know what to say. |
Quote:
|
Quote:
If you can't read my script (not the first post the latest post, cause first post is C&P error) I would reconsider your ability in programming. |
Quote:
|
Quote:
I think you'd be better just listening to the advice given to you by people who know what they're talking about. |
Styling helps with the debug process and makes the code look neat and readable overall. I didn't style my code, but I started having issues reading long lines of code and I often got confused. Now, I do it automatically. It doesn't take long to get to grips with it and it makes it more readable to people trying to help you (like on this occasion)
If you really want the help, then you should really follow advice from more experienced coders. Take fowlplay for instance. He's been coding for a very long time now. If he says that styling your code will help, then it probably will help. I had issues reading that thing. |
Quote:
I've programming in C++ and python for over 3 years, I know what I'm talking about. I am also well capable of "styling" my code and finding errors on my own its just that there is no GScript doc excepting Graal Bible and Wiki, but even those don't have every single function you can use. I appreciate the help I got, no further replys should be made. Quote:
|
All times are GMT +2. The time now is 11:38 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.