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:
Bug or Feature in onPress handlers
This thread has 1 response. Displaying all posts.
Post 1 made on Sunday June 13, 2010 at 05:14
MCFH
Long Time Member
Joined:
Posts:
December 2009
35
I have just discovered that if you set the bgcolor property of a widget in the onPress button handler it undoes the change when you release the button.

If you do the same thing in the onRelease it persists. If you write code to do both you get an annoying flicker between the two handlers.

Do people think this is a bug? How can I log it?

Thanks
Mark
Post 2 made on Sunday June 13, 2010 at 15:05
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
12,994
IIRC, it is a feature that requires to you scour the Dev Guide in 2 places and be aware of subtle differences.

The Dev Guide mentions both bgcolor Property and .setBgColor() Method.

In the "Applicable for" section of the bgcolor Property, it states that the Property is only applicable for a Panel.

In the "Additional Info" section of the setBgColor() Method documentation, under "Additional Info", it states:

Additional info
Contrary to the bgcolor property, which relates to the current background color of a widget, this
method allows setting the colors to which the background color will be set after a state transition
(pressing or releasing a button).

I think I may have logged this with the team in the past as a bug (with regard to the field/property 'bgcolor' not working for a Button as expected but do not recall the response. Maybe the response was the modified section in the documentation???

For future reference on reporting bugs to the team:

The simplest way to report the issue is to create a small, simple XCF that exhibits the problem (you can do this with a home page button) and then document the problem and attach zipped XCF in an email to the ProntoTeam.

You can find that email addy by looking up the user account ProntoTeam on this site.

Last edited by Lyndel McGee on August 25, 2010 16:32.
Lyndel McGee
Philips Pronto Addict/Beta Tester

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