![]() |
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.
|
Quote:
|
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. |
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..
|
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.
|
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