EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Help with textfields (https://www.eq2interface.com/forums/showthread.php?t=3680)

Steelfox 07-20-2005 12:37 AM

Help with textfields
 
Can anyone please tell me if there is a way to copy what I type into a textfield into a label or a textbox while in game? If I put something into the textfield in the UiBuilder I can get that to copy to a label but if I change what is in the textfield in game it wont copy the change it will only copy what I put in with the UIBuilder. I have been messing with this for 2 days and I am out of ideas so any help would be appreciated.

Landiin 07-20-2005 02:54 AM

Quote:

Originally Posted by Steelfox
Can anyone please tell me if there is a way to copy what I type into a textfield into a label or a textbox while in game? If I put something into the textfield in the UiBuilder I can get that to copy to a label but if I change what is in the textfield in game it wont copy the change it will only copy what I put in with the UIBuilder. I have been messing with this for 2 days and I am out of ideas so any help would be appreciated.

I have never tried it, but Have u tried label.localtext=textbox.localtext?

Laffs 07-20-2005 08:09 AM

This works in the UI builder because it is run in "real time" if you like, As in the windows you see get updated everytime you make a change to them.... Where as in game the UI files just get loaded in when you first start the game and dont get updated again after that.. Only exception to that rule seems to be the bag labels on the default bags window when you can change the bag name....(EDIT..Guild notes also)

Maybe have a look at how that works in game and it might get you a bit closer to what you want to do.

Landiin 07-20-2005 09:53 AM

Just put a button in your winodow or what ever and add the script to the onpress event. There is no way to make the label/window poll the textbox to update the data that I know of. But I know so little..

Steelfox 07-20-2005 10:03 AM

Never thought to look at the bag labels. I spent hours trying to think of a window in game that did what I wanted and couldnt think of one lol. I will have to give them a look and the guild window too. Thanks for the help everyone.

Landiin 07-20-2005 10:17 AM

the guild notes and bag labels are all hard coded, the ui don't update that info the game does. I looked into that when I was playing with my notes window. The only way to get info from one object to another currently is through an event handle.


All times are GMT -5. The time now is 02:32 AM.

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