GetBorderStyle – PB Docs 150

GetBorderStyle method (DataWindows)

Description

Reports the border style of a column in a DataWindow control
or DataStore object.

Controls

DataWindow type

Method applies to

PowerBuilder

DataWindow control, DataWindowChild object, DataStore
object

Web ActiveX

DataWindow control, DataWindowChild object

Syntax

[PowerBuilder]

[Web ActiveX]

Argument

Description

dwcontrol

A reference to a DataWindow control,
DataStore, or child DataWindow.

column

The column for which you want to obtain
the border style. Column can be a column number
or a column name.

Return Values

Returns the border style of column in dwcontrol as
a value of the Border enumerated datatype (PowerBuilder) or as a
number (Web ActiveX). For a list of possible values, see Border.

Returns null if it fails. If any argument is null, the method
returns null.

Examples

This code gets the border style for the current column:

This code tests the border of column 2 in dw_emp
and, if there is no border, displays a shadow box border:

See Also


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