Monday, September 9, 2019

Resize Form or Screen in Tally ERP 9 using TDL ( Tally Developer )




Source Code:

[#Menu: Gateway of Tally]
Item: Resizing Form : Display: Add Button
[Report: Add Button]
Form: Add Button
Variable: Full Size
Set: Full Size : No
Title: "Resize Form"
[Form: Add Button]
Part: Add Button
Button: Resize Button
Option: Small Form : Not ##FullSize
Option: Full Form : ##FullSize
;;Optional form definitions
[!Form: Small Form]
Local: Field:Add Button: Set as: "Small Form"
Width: 50% screen
Height: 50% screen
Background: Yellow
[!Form: Full Form]
Local: Field: Add Button: Set As : "Full Form"
Width: 100% screen
Height:100% screen
Background: Green
[Part: Add Button]
Line:Add Button
[Line: Add Button]
Field: Add Button
[Field: Add Button]
;;Variable Definition
[Variable: Full Size]
Type: Logical
;;Button Definition
[Button: Resize Button]
Key: F4
Action: Set: FullSize: Not ##FullSize
Title: "Change Size"

;;End of File


Output:

Gateway of Tally Resize Form or Report


Small Form in Tally ERP 9 TDL

Full Size Form in Tally ERP9 Tally Developer


No comments:

Post a Comment