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

SetRedraw – PB Docs 2019 – PowerBuilder Library

SetRedraw – PB Docs 2019

SetRedraw

method (DataWindows)

Description

Controls the automatic redrawing of an object or control after each
change to its properties.

Applies to

DataWindow type

Method applies to

PowerBuilder

DataWindow control

Syntax

PowerBuilder

Argument

Description

objectname

The name of the object or control for which you want
to change the redraw setting.

redraw

A boolean value that controls whether PowerBuilder
redraws an object automatically after a change. Values
are:

  • True — Automatically redraw the object or control
    after each change to its properties.

  • False — Do not redraw after each change.

Return value

Returns 1 if it succeeds and -1 if an error occurs. If redraw is
null, SetRedraw returns null.

Usage

By default, PowerBuilder redraws a control after each change to
properties that affect appearance. Use SetRedraw to turn off redrawing
temporarily in order to avoid flicker and reduce redrawing time when you
are making several changes to the properties of an object or control. If
the window is not visible, SetRedraw fails.

PowerBuilder environment

Inherited from DragObject. For more details on use with
PowerBuilder objects, see the section called “SetRedraw” in PowerScript Reference.


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