Notes on LV screen

Discussion in 'Free Source Codes' started by love, Oct 10, 2021.

    
  1. love

    love Member


    A little code to save and display notes in LV screen , thanks to my guiding stars i.e experts in this forum, hope you guys like it. please guide me if any improvements are needed.

    Code:
    [#Line: DSP VchTotalAmt]
        Add: Line: At End: LEDNARR
       
    [Line: LEDNARR]
        Field:MEDIUM PROMPT,LEDNARR
        LOCAL:Field:MEDIUM PROMPT:Info:"IMPORTANT NOTES"
        LOCAL:Field:MEDIUM PROMPT:Invisible:$$IsEmpty:$LEDNARRS:LEDGER:#LEDGERNAME
        LOCAL:Field:MEDIUM PROMPT:Background: RED
       
    [Field: LEDNARR]
        Width:100% SCREEN
        Border:thin left right
        set as:$LEDNARRS:LEDGER:#LEDGERNAME
        Alter:LEDNARR
        Background: BLACK
        Invisible:$$IsEmpty:$LEDNARRS:LEDGER:#LEDGERNAME
        Color: WHITE
        Style: BOLD
    [BUTTON:LEDNARR]
        Title: NARRATION
        Key:ALT+F9
        Action    :  Alter        : LEDNARR
        Width            : 6.5% Screen   
        Height            : 5% Screen
        Background        : "White,LIGHT ORANGE"
        Key Color        : "Black, Cyan Blue"
        Color            : "Black, Nero Shadow"
        [#Form: LEDGER VOUCHERS]
            Add: ButtonS:LEDNARR
    
    
        [Report:LEDNARR]  
            Form:LEDNARR
            Object:Ledger:#LEDGERNAME
              
        [Form:LEDNARR]
            Part:LEDNARR1
        [Part:LEDNARR1]
            Line:LEDNARRs
        [#Part: LEDNotes]  
            Add:Line:At End:LEDNARRs
      
      [Line:LEDNARRs]
            Field       : Short Prompt, LEDNARRs
            Local       : Field: Short Prompt   : Setas : $$LocaleString:"NOTES:"
      [Field: LEDNARRs]
    
            Full Width    : Yes
            Max         : 250
            Storage     : LEDNARRs
            Invisible   : ##MVInMultiMode
    
    
    
    
    /*.........UDFs............*/                                      
    [System:UDF]
        LEDNARRs:String:1021
     
    Vashisth, psr and rajiv jaiswal like this.


  2. Bipin Damania

    Bipin Damania Active Member


    Too Good...
     


  3. MZMS

    MZMS New Member


    Sir
    Please guide how to use it.
    Regards
     


  4. Bipin Damania

    Bipin Damania Active Member


    Press Alt+F9 while viewing Ledger
     
    Last edited: Oct 12, 2021


  5. love

    love Member


    Press Alt+F9 while viewing Ledger OR press light orange Button with title "NARRATION" whichever suits you
     


Share This Page