on 09-01-2015 7:27 PM
Experts,
I have a button on a list screen in which I want to basically toggle the style of the button (turn green when they press it, turn the green off when they press it again). The button action sets a property (on the MainObject) for true/false (i.e. toggles that value). I have a style which has the green background. And on the Style on the button, I have it using a rule in which states if the value is true, use the "green" style, otherwise a "blank" style.
Here's the issue. The rule is not firing when the button is pressed. It only seems to fire if I navigate away from the screen, then back to the screen. So if i press the button, the style doesn't change. But I simply navigate away, then back, and now the button in green.
Is there a way to "force" the rules on the button to fire so it can change the button style without having to navigate away?
Thanks,
Ed
Ed,
What platform and version of the client are you using?
--Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have seen a similar behavior with the WPF client that I know Engineering was looking into. I had not run across it on WinCE yet. I would guess it is an issue Engineering will need to review and suggest opening a ticket with support on it.
If I get some time this week I'll see if I can replicate it.
--Bill
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.