change background colour

Discussion in 'Requests' started by K.Deepa, Aug 7, 2015.

    
  1. K.Deepa

    K.Deepa New Member


    Sir,

    Please help me to send the codes for change the background colour of tally vouchers and its voucher types.

    awaiting your wishes

    k.deepa
     


  2. NAGARAJKMAR SUBRAMANIAN

    NAGARAJKMAR SUBRAMANIAN Active Member


    [#Form : Sales Color]
    Background : White , Surf green

    [#Form : Purchase Color]
    Background : White , Surf green


    Likewise u can change for all voucher types
     


  3. K.Deepa

    K.Deepa New Member


    it will not work
     


  4. K.Deepa

    K.Deepa New Member


    can you give me full code for if i have two voucher types in sales like, sales-local, sales-other state, i need separate colours for sales local and sales other state, if i use this code all sales come in green only. please uncle
     


  5. NAGARAJKMAR SUBRAMANIAN

    NAGARAJKMAR SUBRAMANIAN Active Member


    Try This

    [#Form : Sales Color]
    Option : Vchcolor1 : $Vouchertypename contains "localsales"
    Option : Vchcolor2 : $Vouchertypename contains "sales-other state"

    [!Form : Vchcolor1]
    Background : White , Surf green

    [!Form : Vchcolor2]
    Background : Light Grey, Light Grey
     


  6. K.Deepa

    K.Deepa New Member


    Thank you uncle, it will work fine. Thank you so much
     


  7. NAGARAJKMAR SUBRAMANIAN

    NAGARAJKMAR SUBRAMANIAN Active Member


    [#Form : Sales Color]
    Option : Vchcolor1 : $Classname contains "DC"
    Option : Vchcolor2 : $$Isempty:$Classname

    [!Form : Vchcolor1]
    Background : White , Surf green

    [!Form : Vchcolor2]
    Background : Light Grey, Light Grey
     


  8. kamal

    kamal Member


    Dear Sir,
    Thanks in advance for sharing the above code
    based on this i have create two formats for sales SMALL BILL AND A4
    its working fine when selecting bill format SMALL OR A4 again cursor is jumping to date filed
    please check this below code


    ;;;;;;;;;;;;;;;
    ;;PRINT SMALL OR A4 PAPER
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    [#Part: VCH Narration]
    Add: Option: Select Bill Format : $$IsSales:$VoucherTypeName
    [!Part: Select Bill Format ]
    Add: Line: At Beginning: Select Bill Format Line

    [Line: Select Bill Format Line]
    Field: Short Prompt, Select Bill Format Field
    Local: Field: Short Prompt: Info : "Bill Format : "

    [Field: Select Bill Format Field]
    Use : Name Field
    Table : BillSelectionTable
    Show Table : Always
    Storage : BillFormat

    [Table: BillSelectionTable]
    Title : "LIST"
    List : " ","Small" , "A4"

    [System: UDF]
    BillFormat : String : 1666

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    [#Form : Sales Color]
    Option : SmallPrint : $BillFormat contains "Small"
    Option : A4Print : $BillFormat contains "A4"

    ;;;;;;;;;;;;; for small print;;;;;;;;;;;;;;;;;;
    [!Form : SmallPrint]
    Delete :print
    Add :print :pkhrInvocieSmall
    [Report : PkhrInvocieSmall]
    Use : Voucher
    Form : PkhrInvocieSmall
    PrintSet : Report Title : If NOT (##OptionalFlag) AND @@IsSales then $VchPrintTitle:VoucherType:##SVVoucherType else @@InvTitle
    PrintSet : Report SubTitle : @@InvSubTitle
    PrintSet : SVPrintCopies : @@InvCopies
    Print : VCHPrintConfigure
    Delete : Set
    [Form : PkhrInvocieSmall]
    Parts : AMains,InvHeading, GI OpPgBrk, Global Invoice Body
    Bottom Parts: Global Invoice Bottom
    Page Break : GI ClPgBrk, GI OpPgBrk
    ;Width : 210 mms
    Height : 5.9 INCH
    Space Top : 2% Page
    Space Bottom : 2% Page
    Space left : 5% Page
    Space Right : 4% Page



    ;;;;;;;;;;;;;;;;;;;;;;; for A4 PRINT ;;;;;;;;;;;;;;;;;
    [!Form : A4Print]
    Delete :print
    Add :print :pkhrInvociea4

    [Report : PkhrInvociea4]
    Use : Voucher
    Form : PkhrInvociea4
    PrintSet : Report Title : If NOT (##OptionalFlag) AND @@IsSales then $VchPrintTitle:VoucherType:##SVVoucherType else @@InvTitle
    PrintSet : Report SubTitle : @@InvSubTitle
    PrintSet : SVPrintCopies : @@InvCopies
    Print : VCHPrintConfigure
    Delete : Set

    [Form : PkhrInvociea4]
    Parts : AMains,InvHeading, GI OpPgBrk, Global Invoice Body
    Bottom Parts: Global Invoice Bottom
    Page Break : GI ClPgBrk, GI OpPgBrk
    ;Width : 210 mms
    Height : 11.27 INCH
    Space Top : 2% Page
    Space Bottom : 2% Page
    Space left : 5% Page
    Space Right : 4% Page
     


  9. Rohit Khedar

    Rohit Khedar Member


    Sir How set auto Background Color
    1st auto set color "Surf green" and one second after auto set color "Light Grey"

     
    Last edited: Feb 28, 2020


  10. Rohit Khedar

    Rohit Khedar Member


    How set auto Background Color . I modify some Code but not working

    [#Form: Day Book]
    Option : Color: Yellow Tally CALL : Timer Background
    Option : Color: Green Tally CALL : Timer Background

    [!Form: Yellow Tally]
    Background : Light Lily Yellow

    [!Form: Green Tally]
    Background : Pale Sea Green

    [Function: Timer Background]
    00 : Start Timer : Change Background : 2
    05 : Display : Day Book

    [System: Event]
    Change Background: Timer : True : Refresh Data
     


  11. ONKAR

    ONKAR Active Member


    try this one

    [#Form : Contra Color]

    Background : White , Leaf Green



    [#Form : payment Color]

    Background : White , Gold



    [#Form : Receipt Color]

    Background : White , Green



    [#Form : Journal Color]

    Background : White , Yellow



    [#Form : Sales Color]
    Background : White , Surf green




    [#Form : Purchase Color]
    Background : White , Surf green
     


  12. Rohit Khedar

    Rohit Khedar Member


    Mr. ONKAR# this is not auto change

     


  13. ONKAR

    ONKAR Active Member


    yes yes #Rohit bhai
     


  14. haejosh

    haejosh New Member


    can any one help me how to BLINKING Selected Line in day book total....??

    any expert for tuff query..?
     


Share This Page