Page 1 of 1

ShowNavigationControls

Posted: March 25th, 2020, 12:10 pm
by AriSilva
I was playing with the savesetting, specifically the
savesetting("CSEntry.Setting.ShowNavigationControls", "Yes/No");
I turned if off with
savesetting("CSEntry.Setting.ShowNavigationControls", "No");
It worked, the menu item disappeared (not visible). But when I tried to turn it on again with
savesetting("CSEntry.Setting.ShowNavigationControls", "Yes");
And It did not work, that is, the menu item is still not visible.
Fortunately the
setproperty("ShowNavigationControls", "Yes");
works, so the navigation controls are shown but not the menu option

Re: ShowNavigationControls

Posted: March 26th, 2020, 1:58 pm
by Gregory Martin
This actually works as designed but I can see how it's a bit confusing. From the helps:
If this value is set, then the "Show/Hide Navigation Controls" menu option is hidden. Values: "Yes" (show) or "No" (hide)
So if you set it to Yes or No, the menu option will be hidden. If you want to see the menu option, do this:
savesetting("CSEntry.Setting.ShowNavigationControls", "");

Re: ShowNavigationControls

Posted: March 27th, 2020, 10:38 am
by AriSilva
My fault, I really did not understand the help the first time I read it, but it is written there, no matter what you set, the menu option is hidden.
One other thing that confused me a little bit at the beginning is that some savesetting are written for the Menu, like
"CSEntry.Menu.Help"
others are for the Setting, like
"CSEntry.Setting.ShowNavigationControls"
and I did not understand the difference.
Thanks, Greg