![]() |
A few GUI Commands not working?
I have a GUI system and ever since v6 went live I can't seem to get two things to work properly. I've tried basically everything I can think of, including isolated script testing. Are these just removed with v6?
1. The button.performClick(); function. Previously, I would bind a button locally to an edit box, so that when the player pressed "enter" it would catchEvent the editbox's onAction and then perform the this.relatedButton.performClick() functionality. However, now I cannot seem to get this to function, even when troubleshooting shows that the onAction catchevent is functioning properly. I've even tried simply straight-up defining a button by itself and then doing .performClick() on it, and it didn't work. 2. Are MLTEdits no longer able to have borders or backgrounds? It's a real nuisance. I have implemented the following solutions, assuming these are actually broken: 1. Rather than doing this.relatedButton.performClick() on the button, I am simply calling the redirected catchEvent directly: buttonPressed(this.relatedButton); 2. I've taken to it by simply adding a control (for its borders/background) and then putting the MLTEdit inside of the control. It makes for some sloppy annoyances, but I've managed. |
performClick was removed in v6:
Quote:
|
| All times are GMT +2. The time now is 11:43 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.