Page 1 of 1

Button with Text after pressed, stays Highlighted

Posted: Fri Feb 02, 2018 4:16 am
by rhett7660
Hello,

I have a transparent button with words on it. I have the Highlight whilst pressed checked along with the disable greyout and the color is set to a different color then what the text is.

I have these buttons on a subpage that comes in from the left and if the command calls for a jump to another page the subpage closes and then jumps to the other page.

So when I press it, the text changes color. Works great.

However when I go back and re-open the subpage, the button is still showing the highlighted color. How do I have the button go back to the default color?

Re: Button with Text after pressed, stays Highlighted

Posted: Fri Feb 02, 2018 10:09 am
by DemoPad
Do you have a flag associated with the highlight image?

Re: Button with Text after pressed, stays Highlighted

Posted: Fri Feb 02, 2018 3:43 pm
by rhett7660
DemoPad wrote:
Fri Feb 02, 2018 10:09 am
Do you have a flag associated with the highlight image?
I do not, and based on this question, I should have a flag associated it to set the button to off at some point during the button process. Correct?

Re: Button with Text after pressed, stays Highlighted

Posted: Fri Feb 02, 2018 3:47 pm
by DemoPad
No, but if you had a flag set, and it was not being turned off, then the highlight image would remain. We'd need to see your project to investigate, normally having just 'highlight whilst pressed' only shows the highlight image while your finger is on the button, and should go back to normal when it is not pressed. Please send your project file in to support@demopad.com for investigation.

Re: Button with Text after pressed, stays Highlighted

Posted: Fri Feb 02, 2018 7:36 pm
by rhett7660
DemoPad wrote:
Fri Feb 02, 2018 3:47 pm
No, but if you had a flag set, and it was not being turned off, then the highlight image would remain. We'd need to see your project to investigate, normally having just 'highlight whilst pressed' only shows the highlight image while your finger is on the button, and should go back to normal when it is not pressed. Please send your project file in to support@demopad.com for investigation.
I have a flag set for the subpage. I have open and close buttons that do just that, set the flag to open and close based on what I am pushing. But when the subpage closes, the buttons still remain highlighted in the "orange" color I have set for them as highlights.

Will send it out to the above email address tonight.

Re: Button with Text after pressed, stays Highlighted

Posted: Fri Feb 02, 2018 10:17 pm
by rhett7660
Just for clarification which files do I send?

Re: Button with Text after pressed, stays Highlighted

Posted: Sat Feb 03, 2018 4:03 pm
by rhett7660
I hope I sent the correct files, but they have been sent.

Re: Button with Text after pressed, stays Highlighted

Posted: Tue Feb 06, 2018 4:18 pm
by rhett7660
In case anyone else has an issue with this, I was having the subpage jump to another page before the activation of the flag and as a result, the subpage was unable to complete it's run of commands based off of the push and not the release. So it was recommended that I move some of the commands to the release part of the button instead of the push. This allowed the button press and release to finish their processes.

Re: Button with Text after pressed, stays Highlighted

Posted: Tue Feb 06, 2018 10:49 pm
by ekkoville
Rhett was this macro you were trying or just long list of commands that couldn’t complete? Just curious how the button was configured.

Re: Button with Text after pressed, stays Highlighted

Posted: Wed Feb 07, 2018 12:48 am
by rhett7660
ekkoville wrote:
Tue Feb 06, 2018 10:49 pm
Rhett was this macro you were trying or just long list of commands that couldn’t complete? Just curious how the button was configured.
It was only a few commands that I had triggered with the press down and also with the release of the button. The big one I had was "Jump to Another Page" which I had as the second trigger on the press down, which was set to a second later.

So what I did was move the jump to page XXX to the very last command on the release with a seconds set to something like 1.5. Which is very minimal. That took care of the problem.

It was mainly set for:

Press button down:
Turn on Device
Set to input X
Set TV to input X

Release button:
Jump to page.

I had the "jump to page" set on the press down.

Re: Button with Text after pressed, stays Highlighted

Posted: Fri Feb 09, 2018 5:36 pm
by ekkoville
Do you now have delay between the last command and the release action to jump to the page? Or is there a delay after the release?

Re: Button with Text after pressed, stays Highlighted

Posted: Fri Feb 09, 2018 6:54 pm
by rhett7660
ekkoville wrote:
Fri Feb 09, 2018 5:36 pm
Do you now have delay between the last command and the release action to jump to the page? Or is there a delay after the release?
I have a delay. When I get home I will post my numbers, but I believe it goes

0
.5
1

For the delay (in seconds).

Re: Button with Text after pressed, stays Highlighted

Posted: Tue Feb 13, 2018 1:39 am
by rhett7660
I just confirmed the following:

Pressed - Send a command Change input 05 delay
Released - Send a command Left Navigation off 0 delay
Released - Jump to page XXX 05 delay