Opening a Prototype window to add a new function – PB Docs 2019

Opening a Prototype window to add a new function

How you create a new function depends on whether you are
defining a global function or an object-level function.

To create a new global function

  • Select File>New from the menu bar and select Function
    from the PB Object tab.

    The Function painter opens, displaying a Script view with an
    open Prototype window in which you define the function.

To create a new object-level function

  1. Open the object for which you want to declare a
    function.

    You can declare functions for windows, menus, user objects,
    or applications.

  2. Select Insert>Function from the menu bar, or, in the
    Function List view, select Add from the pop-up menu.

    The Prototype window opens in a Script view or, if no Script
    view is open, in a new Script view.


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