How to Change Colour of Selected Line

Discussion in 'Tally Developer' started by Himanshu-2002, Aug 23, 2020.

    
  1. Himanshu-2002

    Himanshu-2002 Active Member


    I can change it Like this

    [System: Formula]
    SV_LINE_SELECTED_BG: Colour Name


    It affects whole tally but I want to change it for a report only
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Find the FORM name of your report.........and use ------ Background: {your color}
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    When you apply color change to SystemVariable like above............ it will change color of all reports wherein the same is being used. So if you want change color of a specific report, find the FORM name and apply it there.
     


  4. Himanshu-2002

    Himanshu-2002 Active Member


    But I think Background Attribute will change colour of background of that Report but I want to change colour of selected line only
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Then at Line level...........

    Local : Field : Default : Background : [colorname]
     


  6. Himanshu-2002

    Himanshu-2002 Active Member


    Didn't Work
     


  7. Himanshu-2002

    Himanshu-2002 Active Member


    Remember I want change for selected line only if I move to the next line then the colour should change
     


  8. Jay kumar tailor

    Jay kumar tailor Well-Known Member


    See Selected Line Total
     


  9. Himanshu-2002

    Himanshu-2002 Active Member


    What Sir I didn't understand ?

    My Problem:
    Example: If we add scroll attribute at Part level then we can go up and down through our Up and Down arrow key So, When We are select a line that selected line background has a colour Right?

    So, I want to change that colour for a report only but this code which I got from Amit Sir Colour Project change it for whole tally

    [System: Formula]
    SV_LINE_SELECTED_BG: Colour Name
     


  10. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Any NAMES having "SV" is System related........ so either you can have whole system related changes or not. There is no in-between as per Report wise.
     


  11. Himanshu-2002

    Himanshu-2002 Active Member


    Sir Can I get some unique thing about report ex - report name So, I can write it like this

    [System: Formula]
    SV_LINE_SELECTED_BG: if $reportname = "reportname" Then myColour Name else System colour
     


  12. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You can try and see....
    am not sure if Background accepts any conditions....
    Check the same in Developer...........
     


  13. narayane88

    narayane88 Active Member


    ADD FOLLOWING LINE TRY IN LINE

    Local:Field:Default:Background:If $$IsOdd:$$BalanceLines Then "gainsboro" Else "White"
     


  14. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Please check the above messages, he wants as per REPORT..........not odd-even wise.
     


  15. narayane88

    narayane88 Active Member


    SORRY SIR I AM NOT READ PROPERLY
     


Share This Page