All Visible GUI tags support the following attributes and messages.
Attributes
attr | Value of attr attribute is name of attribute tag holding attribute values. |
visible | value is true/false |
enabled | value is true/false |
bcolor | Background color, all color values have the form "r,g,b" Ex:- "100,120,255" |
fcolor | Foreground color, all color values have the form "r,g,b" Ex:- "100,120,255" |
pos | The position specified as "left,top,right,bottom" in a 1000 X 1000 pixel grid. |
border | Determines the type of border between components, value between 0-6. |
Messages
show() | Show the component |
hide() | Hide the component |
enable() | Enable the component |
disable() | Disable the component |
bcolor(arg) | Change the background color, arg should be a valid color value of the form "r,g,b" |
fcolor(arg) | Change the foreground color, arg should be a valid color value of the form "r,g,b" |
border(arg) | Change the border, arg should be between 0-6 |
resize(arg) | Resize the component, arg should be valid position value of the form "left,top,right,bottom" |
passmsg(arg) | This message is used to ensure that place holders are correctly filled. |