1getfrm(1F) FMLI Commands getfrm(1F)
2
3
4
6 getfrm - returns the current frameID number
7
9 getfrm
10
11
13 getfrm returns the current frameID number. The frameID number is a num‐
14 ber assigned to the frame by FMLI and displayed flush left in the
15 frame's title bar. If a frame is closed its frameID number may be
16 reused when a new frame is opened. getfrm takes no arguments.
17
19 Example 1 A sample of the getfrm command.
20
21
22 If a menu whose frameID is 3 defines an item to have this action
23 descriptor:
24
25
26 action=open text stdtext `getfrm`
27
28
29
30
31 the text frame defined in the definition file stdtext would be passed
32 the argument 3 when it is opened.
33
34
36 It is not a good idea to use getfrm in a backquoted expression coded on
37 a line by itself. Stand-alone backquoted expressions are evaluated
38 before any descriptors are parsed, thus the frame is not yet fully cur‐
39 rent, and may not have been assigned a frameID number.
40
42 See attributes(5) for descriptions of the following attributes:
43
44
45
46
47 ┌─────────────────────────────┬─────────────────────────────┐
48 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
49 ├─────────────────────────────┼─────────────────────────────┤
50 │Availability │SUNWcsu │
51 └─────────────────────────────┴─────────────────────────────┘
52
54 attributes(5)
55
56
57
58SunOS 5.11 5 Jul 1990 getfrm(1F)