Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Border – PB Docs 150 – PowerBuilder Library

Border – PB Docs 150

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:

Describe and Modify argument:

DataWindowSyntaxFromSql:

Parameter

Description

controlname

The name of the control whose border
you want to get or set.

When generating DataWindow syntax with DataWindowSyntaxFromSql, the Border
setting applies to all columns or all text controls.

value

(exp) A number specifying
the type of border.

Values are:

  • 0 – None

  • 1 – Shadow

  • 2 – Rectangle

  • 3 – Resize

  • 4 – Line

  • 5 – 3D Lowered

  • 6 – 3D Raised

The value can be a quoted DataWindow painter expression.

When you change between Resize and another border, change the
Resizeable property too so that the control’s appearance
and behavior match.

For columns, you can access the Border property with the GetBorderStyle
and SetBorderStyle methods.

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


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x