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

TextFrameInsertAsChar – PB Docs 2022 – PowerBuilder Library

TextFrameInsertAsChar – PB Docs 2022

TextFrameInsertAsChar

PowerScript function

Description

Inserts a new text frame, which is then handled as a single
character in the text.

Applies to

RichTextEdit control

Syntax

Argument

Description

textPos

The text position in the paragraph where to insert the text
frame. If TextPos is -1, the text frame is anchored to the
paragraph at the current input position.
width The width of the text frame in twips. If this parameter is
set to zero, a built-in mouse interface is started which enables
the end-user to define the size of the text frame through a
rectangle, drawn with the mouse. Twip is a fabricated word meaning
twentieth of a point (pt).
height The height of the text frame in twips. If this parameter is
set to zero, a built-in mouse interface is started which enables
the end-user to define the size of the text frame through a
rectangle, drawn with the mouse. Twip is a fabricated word meaning
twentieth of a point (pt).

Return value

Integer.

Returns the unique ID that identifies the newly-inserted text frame.
Returns 0 if it fails. Returns null if any argument is null.

Examples

The following example inserts a text frame at the current
position.


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