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

FindNext – PB Docs 2022 – PowerBuilder Library

FindNext – PB Docs 2022

FindNext

method (DataWindows)

Description

Finds the next occurrence of text in a RichTextEdit DataWindow
control and highlights it, using criteria set up in a previous call of the
Find method.

Applies to

DataWindow type

Method applies to

PowerBuilder

DataWindow control

Syntax

PowerBuilder

Argument

Description

dwcontrol

A reference to a DataWindow control containing a
DataWindow with the RichTextEdit presentation style

Return value

Returns the number of characters found. FindNext returns 0 if no
matching text is found and -1 if the DataWindow’s presentation style is
not RichTextEdit or an error occurs.

Usage

PowerBuilder environment

For use with PowerBuilder RichTextEdit controls, see the section called “FindNext” in PowerScript Reference.

Examples

This example searches the DataWindow control dw_1 for text the user
specifies in the SingleLineEdit sle_search. The search proceeds forward
from the cursor position, is case-insensitive, and is not limited to whole
words:

A second button labeled Find Next would have a script like
this:

See also

Find


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