Nav2013 ribbon - can it show option and its value?...

radek.bbradek.bb Member Posts: 49
edited 2013-08-05 in NAV Three Tier
For example in Excel 2010 in Page Layout tab there are several options like:
Gridlines (View, Print), Headings (View, Print) , Scale to Fie etc...

I bet here, in Nav2013, we have much less sophisticated version of the Ribbon - so we cannot use there such cool features... but maybe I am wrong?...

There is something similar in fact...
When you run a any card page there are two buttons (actions) there (among others) - "View" and "Edit".
When you press one - the other become available an the one pressed - is disabled.

That's "View" and "Edit".
What if I would like to do something similar with buttons: "Rounded" and "Unrounded"?...
Any ideas?

Comments

  • KishormKishorm Member Posts: 921
    You could have a Boolean called IsRounded and then set the Enabled properties of the 2 actions as follows...

    On the Rounded Action, set Enabled = NOT IsRounded
    On the UnRounded Action, set Enabled = IsRounded

    Remember to set the IncludeInDataset property of the IsRounded variable to TRUE and also to update the IsRounded variable appropriately when clicking on the 2 actions.
Sign In or Register to comment.