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

Specify properties of the StaticText controls – PB Docs 2021 – PowerBuilder Library

Specify properties of the StaticText controls – PB Docs 2021

Specify properties of the
StaticText controls

Now you specify the properties of the StaticText controls (label
text boxes) to define how they should appear on the login window.

  1. Select the first StaticText control you added by clicking on
    it.

    The Properties view displays properties of the StaticText
    control. If you do not see the Properties view, select
    View>Properties from the menu bar.

  2. Select the text st_1 in the Name text box on the General page
    of the Properties view.

    Type st_welcome in the Name text box.

    Now the control has a more descriptive name. The prefix st_ is
    standard for StaticText controls.

  3. Select the text none in the Text text box.

    Type Welcome to SportsWear, Inc.

    If you press Enter, click to another field or tab to another
    page in the Properties view, or click in a different view, the text
    you typed replaces none in the Layout view.

  4. Click the Font tab in the Properties view.

    Change the TextSize property for this control to 18
    points.

    The size of the text in the control changes.

    The default typeface is Arial TrueType. You can select a
    different typeface and font size if this one is not available on
    your system.

    Using the StyleBar

    You can also use the StyleBar to change fonts. If you do not
    see the StyleBar, select Tools>Toolbars from the menu bar,
    click StyleBar in the Select Toolbar list box, and then select one
    of the Move positions such as bottom or floating.

  5. Adjust the size of the StaticText control to fit the text you
    entered.

    Keep adjusting the size until you see all of the text you
    entered.

    To adjust the size, drag the upper-right corner of the control
    toward the upper-right corner of the window in the Layout view. You
    can also adjust the size by entering appropriate values on the Other
    page of the Properties view for this control.

  6. Select the second StaticText control you added in the Layout
    view.

    Type st_userid in the Name text box on the Properties view
    General page.

    Type User ID: in the Text text box and press the Tab
    key.

    The text displayed in the control changes.

  7. Select the third StaticText control you added in the Layout
    view.

    Type st_password in the Name text box on the Properties view
    General page.

    Type Password: in the Text text box and press the Tab
    key.

    Your changes display in the Layout view.

    pbc05w04.gif

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