Set Input Text

Help each other out

Set Input Text

Postby PhilB on Sat Sep 20, 2008 1:37 am

This seems to not work anymore in version R (latest release).

I cant seem to get the category>input to clear on keyboard screen entry. It was working and now even if I try it from the F2/Event/Set Input Text and leave the text blank, it does nothing.

I tried the same test in the default skin and it failed there 2.

Any ideas or is this a new bug?
PhilB
 
Posts: 283
Joined: Sat Feb 18, 2006 6:38 pm

Re: Set Input Text

Postby S Pittaway on Sat Sep 20, 2008 7:59 am

try settng the focus to the input box cntrl BEFORE calling the clear text event...
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: Set Input Text

Postby PhilB on Sat Sep 20, 2008 7:35 pm

which event do you recommend for this? I did not do this on my older skin.
PhilB
 
Posts: 283
Joined: Sat Feb 18, 2006 6:38 pm

Re: Set Input Text

Postby S Pittaway on Sun Sep 21, 2008 8:06 am

on my search screen i have set the id of the input box to be id.search.input and the clear button is called id.search.clear.

the clear event is simply:

xlobby>button select>id.search.input
xlobby>set input text>
xlobby>button select>id.search.clear


And yes, i did not have to do this the last time i played with a input box.

Sean.
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Re: Set Input Text

Postby PhilB on Fri Sep 26, 2008 12:45 am

Thanks for the tip. It seems to work with just the first two steps. I was getting tripped up since the input field is a text box and not a button.
PhilB
 
Posts: 283
Joined: Sat Feb 18, 2006 6:38 pm