The Bevel class is derived from the
Control class. A Bevel is normally used
for decorations only.
access function: GetBevel(name)
Attribute |
Access |
Type |
Description |
shape |
R/W |
int |
0=Lowered, 1=Raised |
style |
R/W |
int |
0=Box, 1=Frame, 2=TopLine, 3=BottomLine, 4=LeftLine,
5=RightLine, 6=Spacer |
owner = GetCustomPanel('CustomPanel1') #get the container
control
bevel = owner.addControl('Bevel')
#add a new Bevel
bevel.style = 2
#set to TopLine style |