Many thanks for your speedy response. I have included my code this time. selection_fgcolor =>"RED" works fine but item_fgcolor => "YELLOW", and item_bgcolor => "BLUE" have no impact.

#!/usr/bin/perl use Term::ANSIMenu; my $menu = Term::ANSIMenu->new( width => 79, title => '[MENU v3.02] Plumbing Sales +MENU', title_style =>['BOLD'], exit_keys=>['X'], item_fgcolor => "YELLOW", item_bgcolor => "BLUE", + selection_fgcolor =>"RED", items => [[ 'A','SALES ORDERS MENU [-MENU-]',sub { +system " kcmenu $ENV{TBX_DISK0}/100,100/sm2so"} ], [ 'B','TICKETS & INVOICING MENU [-MENU-]',sub {system " kc +menu $ENV{TBX_DISK0}/100,100/sm2tkt"} ], [ 'C','STOCK & SUPPLIERS MENU [-MENU-]',sub {system " kc +menu $ENV{TBX_DISK0}/100,100/sm2stk"} ], [ 'D','CUSTOMERS & CONTRACTS MENU [-MENU-]',sub {system " kc +menu $ENV{TBX_DISK0}/100,100/sm2cus"} ], [ 'E','GOODS IN MENU [-MENU-]',sub {system " kc +menu $ENV{TBX_KCM}/GoodsIn.kcm"} ], [ 'F','TRANSPORT MENU [-MENU-]',sub {system " kc +menu $ENV{TBX_DISK0}/100,100/sm2trans"} ], [ 'G','MARKING MENU [-MENU-]',sub {system " kc +menu $ENV{TBX_DISK0}/100,100/sm2mark"} ], [ 'H','QUOTATIONS MENU [-MENU-]',sub {system " kc +menu $ENV{TBX_KCM}/Quotes.kcm"} ], [ 'I','BONUS MENU [-MENU-]',sub {system " kc +menu $ENV{TBX_DISK0}/100,100/bonus1"} ], [ 'J','EXTRAS MENU [-MENU-]',sub {system " kc +menu $ENV{TBX_DISK0}/100,100/sm2extra"} ], [ 'K','DIRECTS MENU [-MENU-]',sub {system " kc +menu $ENV{TBX_DISK0}/100,100/pdso"} ], [ 'L','STOCK TRANSFERS v2.0 MENU [-MENU-]',sub {system " kc +menu $ENV{TBX_KCM}/Transfers.kcm"} ], [ 'S','Supplier Returns v1.0 [gdsrtn]',sub {system " tb +w -i [50,50]gdsrtn"} ], [ 'X','Exit Menu',undef ], ],); $menu->print_menu(); while (my $key = uc($menu->read_key())) { last unless defined $menu->do_key($key); $menu->update_status('') if $key eq 'S'; $menu->update_status('New status') if $key eq 's'; $menu->update_prompt('') if $key eq 'P'; $menu->update_prompt('New prompt: ') if $key eq 'p'; } $menu->pos($menu->line_after_menu() + 1, 1);

In reply to Re^2: Term::ANSIMenu help by PerlTwo
in thread Term::ANSIMenu help by PerlTwo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.