Button with Text after pressed, stays Highlighted

Forum to ask for any help
Post Reply
User avatar
rhett7660
Posts: 81
Joined: Sun Jan 14, 2018 8:29 pm

Button with Text after pressed, stays Highlighted

Post by rhett7660 » Fri Feb 02, 2018 4:16 am

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?

User avatar
DemoPad
Site Admin
Posts: 769
Joined: Thu Jun 14, 2012 10:46 am
Contact:

Re: Button with Text after pressed, stays Highlighted

Post by DemoPad » Fri Feb 02, 2018 10:09 am

Do you have a flag associated with the highlight image?

User avatar
rhett7660
Posts: 81
Joined: Sun Jan 14, 2018 8:29 pm

Re: Button with Text after pressed, stays Highlighted

Post by rhett7660 » Fri Feb 02, 2018 3:43 pm

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?

User avatar
DemoPad
Site Admin
Posts: 769
Joined: Thu Jun 14, 2012 10:46 am
Contact:

Re: Button with Text after pressed, stays Highlighted

Post by DemoPad » 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.

User avatar
rhett7660
Posts: 81
Joined: Sun Jan 14, 2018 8:29 pm

Re: Button with Text after pressed, stays Highlighted

Post by rhett7660 » Fri Feb 02, 2018 7:36 pm

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.

User avatar
rhett7660
Posts: 81
Joined: Sun Jan 14, 2018 8:29 pm

Re: Button with Text after pressed, stays Highlighted

Post by rhett7660 » Fri Feb 02, 2018 10:17 pm

Just for clarification which files do I send?

User avatar
rhett7660
Posts: 81
Joined: Sun Jan 14, 2018 8:29 pm

Re: Button with Text after pressed, stays Highlighted

Post by rhett7660 » Sat Feb 03, 2018 4:03 pm

I hope I sent the correct files, but they have been sent.

User avatar
rhett7660
Posts: 81
Joined: Sun Jan 14, 2018 8:29 pm

Re: Button with Text after pressed, stays Highlighted

Post by rhett7660 » Tue Feb 06, 2018 4:18 pm

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.

ekkoville
Posts: 31
Joined: Fri Sep 21, 2012 3:32 pm

Re: Button with Text after pressed, stays Highlighted

Post by ekkoville » 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.

User avatar
rhett7660
Posts: 81
Joined: Sun Jan 14, 2018 8:29 pm

Re: Button with Text after pressed, stays Highlighted

Post by rhett7660 » Wed Feb 07, 2018 12:48 am

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.

ekkoville
Posts: 31
Joined: Fri Sep 21, 2012 3:32 pm

Re: Button with Text after pressed, stays Highlighted

Post by ekkoville » 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?

User avatar
rhett7660
Posts: 81
Joined: Sun Jan 14, 2018 8:29 pm

Re: Button with Text after pressed, stays Highlighted

Post by rhett7660 » Fri Feb 09, 2018 6:54 pm

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).

User avatar
rhett7660
Posts: 81
Joined: Sun Jan 14, 2018 8:29 pm

Re: Button with Text after pressed, stays Highlighted

Post by rhett7660 » Tue Feb 13, 2018 1:39 am

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

Post Reply