Navigation: Ultimate Suite for PowerBuilder Help > DWNav > Functions >

of_setvaluetext

Send comments on this topic.

 

Description:

Sets the text that displays in the value box of the DWNav control. 

Syntax:

of_setvaluetext (string as_text)

Argument

Description

as_text

Text that will display in the value box. Default value is "Row {currentrow} of {rowcount}".

Return Value:

Always returns 1.

Usage:

There are two tags that can be used in the text you pass to this method. {currentrow} will be replaced the the datawindows current row. {rowcount} will be replaced with the row count of the datawindow. Niether tag value is required.


Copyright © 2021 Werysoft Inc.