Skip to content

Form_Border - DfBaseMenu

Sets the border style of a form region

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Parameters

Parameter Type Description
iItem Integer

Syntax

Property Integer Form_Border
Access Type Syntax
Read Access: Get Form_Border to IntegerVariable
Write Access: Set Form_Border to IntegerVariable/Value

Description

Form_Border will set the border style of a form region. Border styles may be applied to form regions as well as objects. If you change this, you will probably want to set the object's Border_Style to Border_None. When changing the border for the Form or dbForm class, you will need to set this property. The dbForm class (and its descendants) uses this property instead of Border_Style to create a border (it aligns better that way).

Valid values:

Constant Meaning
Border_Dialog A raised border used for containers
Border_None No border
Border_Normal A single line border
Border_Thick A raised resizable border for dialogs
Border_ClientEdge A 3-D sunken border
Border_WindowEdge Undefined
Border_StaticEdge A sunken border for containers
Col 1 Col 2
Note: Before using the this property in a control object, you should verify the property's validity within that specific object.

Default is Border_ClientEdge.