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

Open an object – PB Docs 2017 – PowerBuilder Library

Open an object – PB Docs 2017

Open an
object

Where you are

   Manipulate the System
Tree window

>   Open an
object

   Manipulate
views

   Set up the
toolbars

Now you open an object created by the Template Application
wizard.

  1. Select File>Recent Workspaces from the menu bar, then
    MyWorkspace from the cascading menu.

  2. In the System Tree, expand MyWorkspace, the pbtutor target, and
    pbtutor.pbl.

  3. Double-click the pbtutor Application object

    or

    Right-click the pbtutor Application object and select Edit from
    the pop-up menu.

    The Application painter opens. It displays different views of
    the pbtutor Application object. Your view layout scheme may look
    different. To display the default layout, select
    View>Layouts>Default.

    pbapp1.gif

    The default Application painter layout displays two stacks of
    tabbed panes. The left stack contains tabs for a Script view (Open tab
    — it is set to the Open event on the Application object), an Event
    List view, a Function List view, and the Declare Instance Variables
    view. The right stack contains tabs for the Properties view and a
    Non-Visual Object List view.

  4. Look at the code in the Open event in the Script view.

    The PowerScript code that was generated by the wizard in the
    Application Object Open event calls a PowerScript function to open the
    main window in the application. You will modify this code later in the
    tutorial.


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