How to align a part value as a center of the page

Discussion in 'Tally Developer' started by mohankumar, Aug 9, 2013.

    
  1. mohankumar

    mohankumar New Member


    Dear All,

    I have a doubt, How to align a part value as a center of the page.

    Main Part has three part which is Part Left, Part Right, Part Middle. I want to print or display Part Middle value as center of the page.
    Ex :

    [Part : Main]
    Width : 100 % Page
    Left Part : Part Left
    Part : Part Middle
    Right Part : Part Right

    [Part: Part Left]
    Line : Part Left Line

    [Line : Part Left Line]
    Field : Part Left Field

    [Field : Part Left Field]
    Use : Name Field
    Set As : " Part Left"
    Width : 25% Page
    Align : Left

    [Part: Part Middle]
    Line : Part Middle Line

    [Line : Part Middle Line]
    Field : Part Middle Field

    [Field : Part Middle Field]
    Use : Name Field
    Set As : " Part Middle"
    Width : 50% Page
    Align : Center

    [Part: Part Right]
    Line : Part Right Line

    [Line : Part Right Line]
    Field : Part Right Field

    [Field : Part Right Field]
    Use : Name Field
    Set As : " Part Right"
    Width : 25% Page
    Align : Right

    In this Example " Part Middle" not Print in center of the page,It was print into slightly away from the middle of the page. But I want to print " Part Middle" as a center of the page.

    Please help me, and give your example code.
     


  2. Ritesh Mehta

    Ritesh Mehta New Member


    Dear Mohan,

    Your middle part having 50% page so give full width at field level and check.

    [Field : Part Middle Field]
    Use : Name Field
    Set As : " Part Middle"
    Width : 50% Page
    Align : Center
    Full Width : Yes
    Regards,

    Ritesh
     


  3. mohankumar

    mohankumar New Member


    Dear Ritesh Mehta,

    Its working very fine. Thank you very much sir.
     


Share This Page