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

Example 2: rotating controls – PB Docs 80 – PowerBuilder Library

Example 2: rotating controls – PB Docs 80

Example 2: rotating controls

The following DataWindow object shows column headers rotated 45 degrees.

cond035.gif

To rotate each of these three text controls, you would select
Properties from the popup menu for each control and make an entry
by clicking the button next to the Escapement property on the Font
property page.

cond035a.gif

Specifying rotation

To specify rotation, you would enter the number 450 in the
Modify Expression dialog box displayed by clicking the button next
to the Escapement property. The number 450 means 45 degrees; the
value entered for Font.Escapement is in tenths of degrees:

cond036.gif

Notice that you do not have to specify a condition. Typically,
you would not specify a condition for control rotation. When you
have specified 450 for the three text controls, you end up with
all three controls rotated:

cond037.gif

If you try rotation, you may notice that the controls do not
appear to be rotated in the Design view. You see the rotation only
when you run the DataWindow object (which includes the Preview 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