4D View v14PV GET BORDER STYLE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v14
PV GET BORDER STYLE
|
PV GET BORDER STYLE ( area ; edge ; style ; color ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D View area | |||||
edge | Longint |
![]() |
Border edge | |||||
style | Longint |
![]() |
Border style | |||||
color | Longint |
![]() |
Border color | |||||
The PV GET BORDER STYLE command gets the style and color for the border edge for the 4D View area.
To define the edge parameter, use the PV Border edge constants:
Constant | Type | Value |
pv border edge bottom | Longint | 8 |
pv border edge inner hor | Longint | 16 |
pv border edge inner vert | Longint | 32 |
pv border edge left | Longint | 1 |
pv border edge right | Longint | 4 |
pv border edge top | Longint | 2 |
The value returned in the style is parameter is comparable to the PV Border style constants:
Constant | Type | Value |
pv border style 1 | Longint | 1 |
pv border style 111 | Longint | 7 |
pv border style 112 | Longint | 9 |
pv border style 2 | Longint | 2 |
pv border style 211 | Longint | 8 |
pv border style 212 | Longint | 10 |
pv border style 222 | Longint | 11 |
pv border style 232 | Longint | 12 |
pv border style 3 | Longint | 3 |
pv border style 4 | Longint | 4 |
pv border style 5 | Longint | 5 |
pv border style 6 | Longint | 6 |
pv border style half | Longint | 14 |
pv border style none | Longint | 0 |
pv border style quarter | Longint | 13 |
For more information, refer to the PV SET BORDER STYLE command.
Verify that the border style in place in the 4D View area for a data range corresponds to your liking (see PV SET BORDER STYLE). Note that we're not really bordering anything at all: the code below only allows modifying the settings of future borders done with the PV SET RANGE BORDER command.
C_LONGINT($Style;$Color) `Style attributes
`Get style information
PV GET BORDER STYLE(Area;pv border edge bottom;$Style;$Color)
`Is it the desired style?
If(Style#pv border style 111)|($Color#PV Index to color(Light blue)) `Afraid not...
`Frame style and color
PV SET BORDER STYLE(Area;pv border edge bottom;pv border style 111;PV Index to color(Light blue))
End if
Product: 4D View
Theme: PV Borders
Number:
15868
Created: 4D View 6.8
PV SET BORDER STYLE
PV SET RANGE BORDER
4D View Language ( 4D View v11.4)
4D View Language ( 4D View v12)
4D View Language ( 4D v13)
4D View Language ( 4D View v14 R2)
4D View Language ( 4D View v14)
4D View Language ( 4D View v14 R3)
4D View Language ( 4D View v14 R4)