Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
PS Question on entering text/ numerals
This thread has 1 response. Displaying all posts.
Post 1 made on Thursday February 12, 2009 at 16:38
Evohome
Active Member
Joined:
Posts:
April 2008
686
I am sure there might be a thread already on here concerning this, but after searching for around 12 hours, I thought I'd just bite the bullet and start my own.

Here's the question:

I have been messing around with the weather modules available, and have tailored them to suit my taste. What I want to be able to do is set up a page related to weather module "x", where I can pop up a keyboard and actually enter the zip code data for a particular city, and have that change the XML feed automatically.

I have figured out how to do/ modify a lot of the connection between the XML feed(s) and the display on the pages (that part is really simple). What I need guidance on is how to set up a box or boxes on a page that is/ are editable directly on the screen, and that directly edit the specific info on the Prontoscript...

I have found an active "keyboard" screen for the TSU, but the PS is about three miles long, and I'm kinda lost.

Any takers?

Thanks guys.
And buyer beware of a man who chooses to be judged by numbers and salary, with no regard for character or integrity. Peter Gammons, ESPN
Post 2 made on Thursday February 12, 2009 at 17:06
Jon Welfringer
Long Time Member
Joined:
Posts:
December 2002
175
It shouldn't be more than a few lines of code. Create a keyboard layout on screen with the letters/numbers you want as buttons and a text field/panel that will display the results. Then create a PS action for each button that calls Keyboard("A"), Keyboard("9"), etc.

In the activity level Keyboard() function, you can either buffer the character to a string variable or append it directly to the panel's label. Add a "DEL" key and put code in to do a substr or slice function to truncate the string if you need to make corrections.

Finish off with a "Go" or "Enter" button that will then call your weather feed code with the completed string.

Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse