The Label Display Class

The label class is for displaying text that is in either of the following forms:

Labels cannot be edited. Unlike views, labels are completely displayed (up to some reasonable limit of the screen capacity) and never have scrollbars.
Visual Representation

     a('The last entry created';
        'out of bounds';
        'results.')
     `a is `label
     `a has (`fg`shelltitle;(`black`red;'a'))
     show `a

Attributes

See the "Display Attributes" chapter for details concerning all the attributes that apply to objects in the label display class, as well as lists of colors and fonts. The keys in the Table of All Display Attributes that pertain to this class are B, ALL, CNFT, NFT, and TOP.

The attributes that are meaningful for the label display class (other than the print... attributes) are:

active
ancestors
arrowdown
arrowkeys
arrowleft
arrowlist
arrowright
arrowup
at
atsector
b
bg
bound
class
clear
deiconized
doc
downto
dynamic
eval
evaluate
exit
extent
f1-f12
fg
fkeys
focus
followers
followertree
font
foot
freeze
fullscreen
h
H
has
head
hide
hl
hlthickness
icon
iconic
iconized
icontitle
incurrentworkspace
is
justify
l
leader
leftto
literal
lower
mapped
margin
naturalsize
notify
outofcurrentworkspace
parent
pin
preset
primary
r
raise
realize
refresh
request
resize
resizeable
rightto
script
sensitive
set
settings
shadowthickness
shell
shelltitle
show
state
stateself
syncshow
t
tabfrom
tablist
tabto
titlejustify
upto
vcol
vcols
verify
vrow
vrows
w
W
ws
x
X
xs
y
Y
ys
yx
YX
yxs
(Point the mouse cursor to an attribute to display a short description at the bottom of the screen)


doc@aplusdev.org© Copyright 1995–2008 Morgan Stanley Dean Witter & Co. All rights reserved.