|
BackColor
BackColor is a long integer indicating the color to be used for the background for an object. If you do not know the long integer value for the color you want to use, you can use the color bar to determine the red, green, and blue values and the RGB function to specify the color in a script.
For example, you could use this statement to specify yellow as the background color for Heading:
Heading.backcolor=RGB(255,255,0)
Cancel
Cancel is a boolean value indicating whether the CommandButton will act as the Esc key. Cancel has these boolean values:
TRUE - The CommandButton control is the Cancel button. The control is clicked when the user presses the Esc key and clicking the control is the same as pressing Esc.
FALSE - The CommandButton control is not the Cancel button.
DragAuto
DragAuto is a boolean indicating whether PowerBuilder will put the control automatically into Drag Mode. DragAuto has these boolean values:
TRUE - When the control is clicked, the control is automatically in Drag Mode.
TIP: When DragAuto is TRUE, clicking the control triggers a DragDrop event, not a Clicked event.
FALSE - When the control is clicked, the control is not automatically in Drag Mode; you have manually put the control into Drag Mode by using the Drag function.
DragIcon
DragIcon is a string containing the name of the file containing the icon you want to display when the user drags a control (the .ICO file). The default icon is a box the size of the control.
When the user drags a control, the icon displays when the control is over an area in which the control can be dropped (a valid drop area). When the control is over an area that is not a valid drop area, the no drop icon displays.
Icon
Icon is a string containing the name of the .ICO file that contains the icon that will be displayed when the window or DataWindow is minimized.
Invert
Invert has these boolean values:
TRUE - Display the picture with its colors inverted.
FALSE - Display the picture in its normal color.
MicroHelpHeight
Pointer
Pointer is a string containing the name of the file containing the pointer that will be used for the object or control.
WindowState
WindowState is an enumerated data type specifying the state in which you want to run a window or program:
Maximized! - Maximized; enlarge the program to its maximum size.
Minimized! - Minimized; shrink the program to an icon.
Normal! - (Default) run the program in its normal size.
TIP: You can specify the state in which you want to run a window in the script that opens the window or in a script after the window is opened.
|