ObjectDCL Banner

BorderStyle Property

Description

This setting determines the control's type of border style that will be drawn.

Type

This property is an integer. The possible values are:

  • 0 No border
  • 1 Client edge
  • 2 Static edge

Applies For

Animation, BlockList, BlockView, DwgList, DwgPreview, EditableGrid, Grid (Hatch), HtmlControl, Label, ListBox, ListView, OptionList, PictureBox, ProgressBar, Rectangle, SlideView, TextBox, TreeControl.

Invoking From Old API

Can be passed as "BorderStyle" to Control_SetProperty and Control_GetProperty's string property name where applicable.

Getter Example

CopyCode imageCopy Code
; Get the property from the control
(setq Value (Odcl_Control_GetBorderStyle MyProject_MyForm_MyControl))

(setq Value (Odcl_Control_GetBorderStyle "MyProject" "MyForm" "MyControl"))

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetBorderStyle MyProject_MyForm_MyControl 1)

(Odcl_Control_SetBorderStyle "MyProject" "MyForm" "MyControl" 1)