Defining reusable DataWindow controls – PB Docs 126

Defining reusable DataWindow controls

You might want all the DataWindow controls in your application
to have similar appearance and behavior. For example, you might
want all of them to do the same error handling.

To be able to define these behaviors once and reuse them in
each window, you should create a standard user object based on the
DataWindow control: define the user object’s properties
and write scripts that perform the generic processing you want,
such as error handling. Then place the user object (instead of a
new DataWindow control) in the window. The DataWindow user object
has all the desired functionality predefined. You do not need to
respecify it.

For more information about creating and using
user objects, see the PowerBuilder Users Guide.

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