4D v16.3

OBJECT SET BORDER STYLE

Home

 
4D v16.3
OBJECT SET BORDER STYLE

OBJECT SET BORDER STYLE 


 

OBJECT SET BORDER STYLE ( {* ;} object ; borderStyle ) 
Parameter Type   Description
Operator in If specified, object is an object name (string) If omitted, object is a field or variable
object  Form object in Object name (if * is specified) or
Field or variable (if * is omitted)
borderStyle  Longint in Border line style

The OBJECT SET BORDER STYLE command modifies the border line style of the object(s) designated by the object and * parameters.

The "Border Line Style" property modifies the appearance of the object outlines. For more information, refer to Border Line Style in the Design Reference manual. 

Passing the optional * parameter indicates that the object parameter is an object name (string). If you do not pass this parameter, it indicates that the object parameter is a field or variable. In this case, you pass a field or variable reference instead of a string (field or variable object only).

In the borderStyle parameter, pass the value of the border line style that you want to apply to the object. You can pass one of the following constants, found in the "Form Objects (Properties)" theme:

Constant Type Value Comment
Border Dotted Longint 2 Objects appear framed with a dotted 1-pt. border line
Border Double Longint 5 Objects appear framed with a double line, i.e., two continuous 1-pt. lines separated by a pixel
Border None Longint 0 Objects appear with no border
Border Plain Longint 1 Objects appear framed with a continuous 1-pt. border line
Border Raised Longint 3 Objects appear framed with a 3D effect (raised)
Border Sunken Longint 4 Objects appear framed with a sunken 3D effect
Border System Longint 6 The border line is drawn based on the graphic specifications of the system



See also 

OBJECT Get border style

 
PROPERTIES 

Product: 4D
Theme: Objects (Forms)
Number: 1262

 
HISTORY 

Created: 4D v14

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)