Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
FMLI Commandsgetfrm(1F)


NAME

 getfrm - returns the current frameID number

SYNOPSIS

 getfrm

DESCRIPTION

 

getfrm returns the current frameID number. The frameID number is a number assigned to the frame by FMLI and displayed flush left in the frame's title bar. If a frame is closed its frameID number may be reused when a new frame is opened. getfrm takes no arguments.

EXAMPLES

 Example 1. A sample of the getfrm command.
 

If a menu whose frameID is 3 defines an item to have this action descriptor:

 
action=open text stdtext `getfrm`

the text frame defined in the definition file stdtext would be passed the argument 3 when it is opened.

NOTES

 

It is not a good idea to use getfrm in a backquoted expression coded on a line by itself. Stand-alone backquoted expressions are evaluated before any descriptors are parsed, thus the frame is not yet fully current, and may not have been assigned a frameID number.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu

SEE ALSO

 

attributes(5)


SunOS 5.9Go To TopLast Changed 5 Jul 1990

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.