Download Free Tools for Tally ERP
FREE utilities for Tally Accounting Software

Friday, August 10, 2007

Example 35: Disabling menu-options in Tally 9

This post illustrates how to disable a menu-option in Tally 9.

Download TDL35


;;Objective:-
;;Disabling Menu Options in Tally 9
;;=========================================================================

;;Global Formula
[System: Formula]
locSR : $$LocaleString:"Sales Register"
locPR : $$LocaleString:"Purchase Register"

;;Add a new menu-item to the Gateway of Tally
[#Menu:Gateway of Tally]
Item : Example 35: Menu : My Menu

[Menu: My Menu]
;;KEY ITEM works with Tally 9 only.
;;Refer TDL36.TXT for Tally 7.2
Key Item: @@locSR : S : Display : Sales Register : ##ShowSR
Key Item: @@locPR : P : Display : Purchase Register : ##ShowPR
Item: Blank
Key Item: @@locQuit : Q

[System: Variable]
ShowSR : Yes
ShowPR : No

[Variable: ShowSR]
Type : Logical

[Variable: ShowPR]
Type : Logical
Tally; Tally Developer and Tally Definition Language are trademarks or registered trademarks of "Tally Solutions", Bangalore.