User Wise Font Selection

Discussion in 'Free Source Codes' started by Anand Sharma, Nov 4, 2019.

    
  1. Anand Sharma

    Anand Sharma Member


    I Want To Create User Wise Font Selection. But Code Not Working

    Plz help

    My Code is This :

    [#Menu:Gateway of Tally]
    Add:Item:Before:mad:@Locquit:FontTest:Alter:ColorTest

    [Report:ColorTest]
    Form:ColorTest
    Object:Company

    [Form:ColorTest]
    Part:ColorTest

    [Part:ColorTest]
    Line:ColorTest

    [Line:ColorTest]
    Field:ColorTest

    [Field:ColorTest]
    Width:40
    Table:ColorTable
    Storage: ColorStorage

    [Table:ColorTable]
    Title:"Select Your Font"
    List:"Cambria (Headings)", "Agency FB", "Aharoni", "Algerian", "Andalus", "Times New Roman", "Arial", "Arial Black"


    [System:UDF]
    ColorStorage:String:25001

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

    [#Field: LED Mailing Name] ;;;;;;;;;;;;;;;;; Account Ledger Mail Name
    Style:MST Alias Font

    [System:Formulas]
    ColorTest:$ColorStorage:Company:##SVCurrentCompany

    [Style:MST Alias Font]
    Font:mad:@ColorTest
     


  2. Johar

    Johar Member



    Try Like This:.............

    [#Menu:Gateway of Tally]
    Add:Item:FontTest:Alter:ColorTest

    [Report:ColorTest]
    Form:ColorTest
    Object:Company

    [Form:ColorTest]
    Part:ColorTest

    [Part:ColorTest]
    Line:ColorTest

    [Line:ColorTest]
    Field:ColorTest

    [Field:ColorTest]
    Use : Name Field
    Width:40
    Table : ColorTable, Not Applicable
    Show Table : Always
    Storage: ColorStorage

    [Table:ColorTable]
    Title:"Select Your Font"
    List Name:"Cambria (Headings)", "Agency FB", "Aharoni", "Algerian", "Andalus", "Times New Roman", "Arial", "Arial Black"
    Format : $Name,25


    [System:UDF]
    ColorStorage:String:25001

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

    [#Field: LED Mailing Name] ;;;;;;;;;;;;;;;;; Account Ledger Mail Name
    Style:MST Alias Font

    [System:Formulas]
    ColorTest:$ColorStorage:Company:##SVCurrentCompany

    [Style:MST Alias Font]
    Font:mad:@ColorTest
     


  3. Anand Sharma

    Anand Sharma Member


    Johar Sir,,,

    Thanks For Replay But Not Working

    Show This Error.
     

    Attached Files:

    • Test.jpg
      Test.jpg
      File size:
      209.9 KB
      Views:
      58


  4. Jay kumar tailor

    Jay kumar tailor Well-Known Member


    Make different Style Using different Font Names
    Then try...
     


  5. Jay kumar tailor

    Jay kumar tailor Well-Known Member


    [Style :Your Style]
    Font :If $$Cmpuser Contains $UsernameSelectionField Then $yourfontfield Else ""

    Try This Way Using Report/Form Where We Can select Username in First Field And Then Font Name In Second Field
     


  6. Johar

    Johar Member


    It's working see image below, error is somewhere else check it out.
     

    Attached Files:



Share This Page