Border
property (DataWindow object)
Description
The type of border for the control.
Applies to
Column, Computed Field, Graph, GroupBox, OLE, Picture, Report,
TableBlob, and Text controls
Syntax
PowerBuilder dot notation:
1 |
dw_control.Object.controlname.Border |
Describe and Modify argument:
1 |
"controlname.Border { = 'value ' }" |
SyntaxFromSql:
1 2 |
Column ( ... Border = value ... ) Text ( ... Border = value ... ) |
Parameter |
Description |
---|---|
controlname |
The name of the control whose border you want to When generating DataWindow syntax with |
value |
(exp) A number specifying the type of Values are: 0 — 1 — Shadow 2 — 3 — Resize 4 — 5 — 3D Lowered 6 — 3D The value can be a quoted DataWindow painter When you change between Resize and For |
Usage
In the painter
Select the control and set the value in the Properties view,
General tab.
Changing the Border setting between Resize and another border
affects the Resizeable option on the Position tab. To make another
border resizable, choose the border then reset Resizeable.
On Windows XP, to display the border of a text column with the XP
style (by default, a blue box), set the Border property to Lowered and
the BackgroundColor of the font to Window Background.
For examples of other ways to set properties, using Border as an
example, see What you can do
with DataWindow object properties.
Examples
1 2 3 4 5 6 7 |
string ls_data ls_data = dw1.Object.emp_name_t.Border dw1.Object.emp_name_t.Border='6' ls_data = dw1.Describe("emp_name_t.Border") dw1.Modify("emp_name_t.Border='6'") SQLCA.SyntaxFromSQL(sql_syntax, & "Style(...) Column(Border=5 ...) ...", ls_Errors) |