4D v13PV SET BORDER STYLE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v13
PV SET BORDER STYLE
PV SET BORDER STYLE
The PV SET BORDER STYLE command sets the style and color for the border edge. Note: This command does not apply to the style of area cells. It only defines styles which should then be applied using the PV SET RANGE BORDER style. To define the edge parameter, use the PV Border edge constants:
A border is defined as an edge (side) of a frame: upper, lower, left, right. To set several borders using a unique call to PV SET BORDER STYLE, simply add constants, for example pv border edge top + pv border edge bottom for a line above and below the frame. Borders can be combined to form a partial or complete frame for a cell range. In this case, the inner border is the edge of each cell included in the frame and can be addressed using the pv border edge inner vert and pv border edge inner hor constants. Each border can also contain specific, unique characteristics: PV SET BORDER STYLE can be called as many times as there are borders needing to contain different styles. To define the style parameter, use the PV Border style constants:
These constants are defined as follows:
The color parameter is a RGB-type long integer. This value can be taken from one of the 256 colors of the 4D palette using the PV Index to color command: specifically, it is possible to use the constants of the 4D language, Colors theme, available for the first 16 colors (the first row of the color palette).
See the example for the PV SET RANGE BORDER command. |
PROPERTIES
Product: 4D
INDEX HISTORY
Modified: 4D View 2003 SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||