NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: markster on May 26, 2013, 10:49:22 AM
-
I'm requesting a template option to disable standard buttons.The code for it is already in the WebServer call (ie CreateStdButton...) and I can override the template-generated code to add a local variable to flag it, but it would be nice to have an option for disabling it in the template.
Thanks,
Mark
-
which buttons specifically mark - and under what sort of conditions would you disable, or enable them?
-
I'm interested in the standard buttons that you might put on a browse line, so Insert, Change, Delete, View. I enable or disable them based on child records or other conditions.
Mark
-
there is a template option already for these - although perhaps not where you would expect.
Go to the "Form" tab, and you can set the condition for each button type there. These conditions apply to in-row buttons as well as buttons below/above the browse.
It doesn't "disable" the button, it removes it completely - which provides a better visual look I think.
cheers
Bruce
-
I'm aware of the condition option, but that doesn't give me the look I want. I have some rows that have the icons enabled and some that are disabled. Using the condition option, you have only the option of showing an icon or showing nothing. To me, the resultant field widths make the browse look irregular. I would rather show both the disabled and enabled icons.
Mark
-
done in 7.12. See the release notes (aka Version History) when it's up.