Jump to content

wpDeleteFromContent

From EDM2
Revision as of 23:30, 10 September 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpDeleteFromContent}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method removes an object from a folder's Content List. ==Syntax== _wpDeleteFromContent(somSelf, Object); ==Parameters== ;''somSelf'' (WPFolder *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPFolder. ;''Object'' (WPObject *) - input :Pointer to the object to be deleted from...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This method is specific to version 3, or higher, of the OS/2 operating system.

This instance method removes an object from a folder's Content List.

Syntax

_wpDeleteFromContent(somSelf, Object);

Parameters

somSelf (WPFolder *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPFolder.
Object (WPObject *) - input
Pointer to the object to be deleted from the folder's content list.

Returns

rc (BOOL) - returns
Success indicator.
TRUE: Successful completion.
FALSE: Error occurred.

How to Override

This method should be overridden to intercept the notification of the "Removed an object from a folder" event for subclasses that define their own folder views. The parent must always be called.

Related Methods