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

Syntax 2 For positioning objects within a DataWindow – PB Docs 126 – PowerBuilder Library

Syntax 2 For positioning objects within a DataWindow – PB Docs 126

Syntax 2 For positioning objects within a DataWindow

Description

Moves an object within the DataWindow to another band or changes
the front-to-back order of objects within a band.

Controls

DataWindow controls and DataStores

Syntax

Argument

Description

dwcontrol

The name of the DataWindow control or
DataStore containing the object.

objectname

The name of the object within the DataWindow
that you want to move. You assign names to the DataWindow objects
in the DataWindow painter.

band

The name of the band or layer in which
you want to position objectname.

Layer names are background and foreground.

Band names are detail, header, footer, summary, header.#,
and trailer.#.

# is the group level number. Enter the empty string
(“”) if you do not want to change the band

bringtofront

A boolean indicating whether you want
to bring objectname to the front within the
band:

  • TRUE – Bring
    it to the front

  • FALSE – Do not bring
    it to the front

Return Values

Integer. Returns 1 when it succeeds and
-1 if an error occurs. If any argument’s value is null, SetPosition returns null.

Examples

This statement moves oval_red in dw_rpt to
the header and brings it to the front:

This statement does not change the position of oval_red
, but does bring it to the front:

This statement moves oval_red to
the footer but does not bring it to the front:


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