RemoveTaggedValue Method
The RemoveTaggedValue method removes a tagged value identified by its index or tag name from the component’s TaggedValues array.
Note: Using this method will not remove an inherited tag, but may instead expose it. Removing a tag that already exists in a subclass will not affect that subclass.
To remove an inherited tag, use
FindTag Method to get the classname of the tag’s owner, then access that ClassSource (using AppSource.FetchComponent (see
FetchComponent Method)) and issue RemoveTaggedValue for that ClassSource.
This method has the following syntax:
status = CompSource.RemoveTaggedValue(tag = varchar(256) | row = integer)
This method has the following variable and parameters:
CompSource
Specifies the frame, procedure, or user class
tag
(Either this parameter or row is required.) Specifies the name of the tag in the TaggedValues array.
row
(Either this parameter or tag is required.) Specifies the row number in the TaggedValues array.
This method returns TV_OK if successful; otherwise, it returns TV_FAIL.