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

Inserting controls in a window – PB Docs 2021 – PowerBuilder Library

Inserting controls in a window – PB Docs 2021

Inserting controls in a window

You insert controls in a window in the Window painter.

To insert a control in a window:

  1. Select Insert>Control from the menu bar, or display the
    Controls drop-down toolbar on the PainterBar.

  2. Select the control you want to insert.

  3. If you select User Object, the Select Object dialog box
    displays listing all user objects defined for the application.
    Select the library and the user object and click OK.

  4. In the Layout view, click where you want the control.

    After you insert the control, you can size it, move it, define
    its appearance and behavior, and create scripts for its
    events.

Duplicating controls

To place multiple controls of the same type in a window, place a
control in the window and make sure it is selected. Then press Ctrl+T or
select Duplicate from the pop-up menu once for each duplicate control
you want to place in the window. The controls are placed one under
another. You can drag them to other locations if you want.

Inserting controls with undefined
content

When you insert a DataWindow, Picture, PictureButton, or
PictureHyperLink control in a window, you are inserting only the
control. You see only an empty box for a DataWindow control, the dotted
outline of a box for Picture and PictureHyperLink controls, and a large
button resembling a CommandButton for a PictureButton control. You must
specify a DataWindow object or picture later.

Dragging and dropping DataWindow objects

You can insert a DataWindow control with a predefined DataWindow
object in a window by dragging the DataWindow object from the System
Tree to the window’s Layout view.

Placing OLE controls

You can place objects from applications that support OLE, such as
Excel worksheets and Visio drawings, in your windows. For information
about using OLE with PowerBuilder, see the section called “Using OLE in an Application” in Application Techniques.


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