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

TableSetCellTextType – PB Docs 2022 – PowerBuilder Library

TableSetCellTextType – PB Docs 2022

TableSetCellTextType

PowerScript function

Description

Sets the type of content in a table cell in the RichTextEdit
control.

The text type of the table cell may be txStandard (for text content)
or txNumber (for number content). If the type is txstandard, the content
in the cell is interpreted as text and it is displayed as it is. If the
type is txnumber, the content in the cell is interpreted as a number, with
the period character (.) being defined as decimal separator, and the comma
character (,) is defined as thousands separator.

Applies to

RichTextEdit control

Syntax

Argument

Description

tableID

The unique ID that identifies the table.

row The row number of the cell.
column The column number of the cell.
textType

The text type of the content in the cell. The following
types are supported:

  • 0 — The txStandard type, which means that the content
    is text.

  • 1 — The txNumber type, which means the content in the
    cell shall be interpreted as a number, with the period
    character (.) being defined as decimal separator, and the
    comma character (,) is defined as thousands
    separator.

Return value

Boolean.

Returns true if it succeeds, and false if it fails. If any argument
is null, return null.

Examples

The following example sets the text type to number in the specified
cell:


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