Freelance AC700F - Action need to be confirm button
Hello everyone,
I am encountering an issue :
I need to show two button one to confirm and another to cancel an operator action.
I create two invisble buttons
button confirm :
action confirm action
color blue
button cancel :
action cancel action
color blue
There is no problem with the confirm button it's change color when an action need to be confirm , the cancel button don't change color but if click on the area of this button the action is been canceled:
![]()

Where i did it wrong?
Thx for help
best regards
I am encountering an issue :
I need to show two button one to confirm and another to cancel an operator action.
I create two invisble buttons
button confirm :
action confirm action
color blue
button cancel :
action cancel action
color blue
There is no problem with the confirm button it's change color when an action need to be confirm , the cancel button don't change color but if click on the area of this button the action is been canceled:
Where i did it wrong?
Thx for help
best regards
Voted best answer
Hello.
You did nothing wrong. The color change on the Cancel button is simply not supported by Freelance.
If you cannot make the Cancel button visible all the time there is an awkward work-around that you can try.
Here are two invisible Buttons:

Here the 2 buttons after a confirmation is needed:

The way I did it is, that I enlarged the OK button to the left and gave it the text "Cancel OK". Then I put the half wide button with the Action "Cancel confirmed operation" on top of it, so that it covers the underlying buttons "Cancel" part. The top key's colors are set to transparent, both for foreground and background. Once an operation needs confirmation the color of the lower "Cancel OK" button changes (foreground and background) and it becomes visible. The top button with "Cancel confirm operation" stays transparent and therefore the text it covers can still be seen. Because it is on top, once you press it, the Cancel action will be executed. Only if you click on the right half of the construct, which is not covered by the transparent Cancel button, will a Confirmation happen.
It looks a little weird, because the two buttons share a common background, but you could improve the visual a little by placing a grey button between them which has the color of the display background. That way it would appear as if you had two separate buttons:

You need to experiment a bit with the lower button size and its Text string, so the two words appear in the middle of the 2 virtual buttons. Also you could maybe do something with two lines to cover the inner border of the two virtual buttons.
Hope that helps.
You did nothing wrong. The color change on the Cancel button is simply not supported by Freelance.
If you cannot make the Cancel button visible all the time there is an awkward work-around that you can try.
Here are two invisible Buttons:
Here the 2 buttons after a confirmation is needed:
The way I did it is, that I enlarged the OK button to the left and gave it the text "Cancel OK". Then I put the half wide button with the Action "Cancel confirmed operation" on top of it, so that it covers the underlying buttons "Cancel" part. The top key's colors are set to transparent, both for foreground and background. Once an operation needs confirmation the color of the lower "Cancel OK" button changes (foreground and background) and it becomes visible. The top button with "Cancel confirm operation" stays transparent and therefore the text it covers can still be seen. Because it is on top, once you press it, the Cancel action will be executed. Only if you click on the right half of the construct, which is not covered by the transparent Cancel button, will a Confirmation happen.
It looks a little weird, because the two buttons share a common background, but you could improve the visual a little by placing a grey button between them which has the color of the display background. That way it would appear as if you had two separate buttons:
You need to experiment a bit with the lower button size and its Text string, so the two words appear in the middle of the 2 virtual buttons. Also you could maybe do something with two lines to cover the inner border of the two virtual buttons.
Hope that helps.
Answers
Thx a lot for your answer.
It appears that i found a tips to make the cancel button change too.
Create 2 buttons one confirm one cancel with the same colors parameters. And group the 2 button and magical the cancel button appear when a confirmation is needed.
![]()

Hope it can help !
It appears that i found a tips to make the cancel button change too.
Create 2 buttons one confirm one cancel with the same colors parameters. And group the 2 button and magical the cancel button appear when a confirmation is needed.
Hope it can help !
Add new comment