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

DeleteCategory – PB Docs 2018 – PowerBuilder Library

DeleteCategory – PB Docs 2018

DeleteCategory

PowerScript function

Description

Deletes a category and the data values for that category from the
category axis of a graph.

Graph controls in windows and user objects. Does not apply to graphs
within DataWindow objects (because their data comes directly from the
DataWindow).

Syntax

Argument

Description

controlname

The graph in which you want to delete a
category.

categoryvalue

A value that is the category you want to delete from
controlname. The value you specify must be the same datatype as
the datatype of the category axis.

Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs. If any
argument’s value is null, DeleteCategory returns null.

Examples

These statements delete the category whose name is entered in the
SingleLineEdit sle_delete from the graph gr_product_data:

See also

DeleteData

DeleteSeries


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