Border DataWindow object property
Description
The type of border for the control.
Controls
Column, Computed Field, Graph, GroupBox, OLE, Picture, Report, TableBlob,
and Text controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>controlname</span>.Border |
Describe and Modify argument:
1 |
"<span>controlname</span>.Border { = ' <span>value </span>' }" |
DataWindowSyntaxFromSql:
1 |
Column ( ... Border =<span> value ... </span>) |
1 |
Text ( ... Border = <span>value ... </span>) |
Parameter |
Description |
---|---|
controlname |
The name of the control whose border When generating DataWindow syntax with DataWindowSyntaxFromSql, the Border |
value |
(exp) A number specifying Values are:
The value can be a quoted DataWindow painter expression. When you change between Resize and another border, change the For columns, you can access the Border property with the GetBorderStyle |
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 a Picture in a Web DataWindow that is a link, the default
border displays unless you set the Border property to 0.
For examples of other ways to set properties, using Border
as an example, see “What you can do with DataWindow
object properties”.
Examples
1 |
string ls_data<br>ls_data = dw1.Object.emp_name_t.Border<br>dw1.Object.emp_name_t.Border='6' |
1 |
ls_data = dw1.Describe("emp_name_t.Border") |
1 |
dw1.Modify("emp_name_t.Border='6'") |
1 |
SQLCA.SyntaxFromSQL(sql_syntax, & |
1 |
"Style(...) Column(Border=5 ...) ...", ls_Errors) |