DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Frame definition files

Displaying an item message

This example shows how to use the itemmsg descriptor to display a message specific to a single menu item:

   menu="My First Menu"
   begrow=center
   begcol=30
   interrupt=true
   

name="Run UNIX System V" action=unix-system

name="Find Modified Files" action=`find $HOME -mtime -7 -print > modfiles`nop description="contents changed in past 7 days" itemmsg="Once begun, this activity cannot be interrupted" interrupt=false

name="Find Executable Files" action=`find $HOME -perm -100 -print > execfiles`nop oninterrupt=`message Partial output is in execfiles`nop

name="Exit My Application" action=exit

Menu.itemmsg: an example of the itemmsg descriptor

Whenever the user navigates to the second menu item, the message defined in the itemmsg descriptor is displayed as shown in ``Menu.itemmsg: an example of the itemmsg descriptor''. It will temporarily replace a frame message if one was created by the framemsg descriptor.

Menu.itemmsg: screen output


Next topic: Using the show descriptor
Previous topic: Menu.descrip: screen output

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004