EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   DynamicData initialization timing and event scripting (https://www.eq2interface.com/forums/showthread.php?t=12215)

gm9 01-09-2009 06:17 PM

DynamicData initialization timing and event scripting
 
I just felt very stupid when I found a Russian version of ProfitUI they distribute on norrath.ru and saw that they solved the issue I (and others here) had with the subclass detection and the timing of the initialization of the subclass dynamic data.

The very simple solution: A Textbox has an OnChange event. /facepalm

Doesn't matter much now that we get OnTextChanged with GU51 but I still thought I'd post that here.

Oh and major negative props to the Russian modder(s) for taking the work here without asking or giving much credit (all I saw was a link back to the "English version") and then not even feeding the fixes they do back to us. That's not how you do it guys, that's bad style.

SOE-Rothgar 01-09-2009 08:43 PM

The UITextBox OnChange event fires anytime the text changes which means every keypress. This can be useful in some situations.

The new event OnTextChanged works for UIText objects, so its better suited for doing something when a label is modified by dynamic data or by code.

samejima 01-12-2009 04:20 PM

I love you both I was just about to make a post if that was still going in 51 since it wasn't in the patch notes. Is it on test at the moment?

SOE-Rothgar 01-12-2009 05:24 PM

Yes, it should be on Test with the other changes I've mentioned here on EQIIInterface. Not sure why I didn't include update notes, I thought I did. They have just not made the release note text.

gm9 01-12-2009 05:31 PM

Quote:

Originally Posted by SOE-Rothgar (Post 79710)
Yes, it should be on Test with the other changes I've mentioned here on EQIIInterface. Not sure why I didn't include update notes, I thought I did. They have just not made the release note text.

They probably thought that with too many UI updates listed people would complain that you should rather spend your time on class balancing. ;)

Landiin 01-12-2009 06:05 PM

Speaking of class balancing.. ROFL J/K

Keep up the good work Rothgar!

gm9 01-25-2009 03:43 PM

Another thread just made me think of this one regarding custom window loading, not sure if you guys had realized this but it probably can't hurt to state it clearly:

Custom interface windows can load (/show_window) themselves using OnChange or the new OnTextChanged!

(yeah, another /facepalm)


All times are GMT -5. The time now is 09:39 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI