PV GET BORDER STYLE

4D - Documentation   Français   English   German   4D View 2004, Command Theme List   4D View 2004, Command Alphabetical List   4D View 2004, Constant Theme List   Back   Previous   Next

version 6.8


PV GET BORDER STYLE (area; edge; style; color)

ParameterTypeDescription
areaLongint4D View area
edgeLongintBorder edge
styleLongintBorder style
colorLongintBorder color

Description

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.

The value returned in the style is parameter is comparable to the PV Border style constants. For more information on the PV Border style theme constants, refer to the PV SET BORDER STYLE command.

Example

Verify that the border style in place 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

See Also

PV SET BORDER STYLE, PV SET RANGE BORDER.

Constants

PV Border edge and PV Border style themes.


4D - Documentation   Français   English   German   4D View 2004, Command Theme List   4D View 2004, Command Alphabetical List   4D View 2004, Constant Theme List   Back   Previous   Next