SheetCloseEvent

The SheetCloseEvent class is used by SheetControlBar to inform the parent Sheet when to close, and like the SheetVisibilityEvent class just discussed, it inherits from the Curl system WindowVisibility class. The code required is listed in Figure 5-20.

The {constructor} method simply creates a new SheetCloseEvent object, which is created and sent to a Sheet when the user interacts with the Sheet's SheetControlBar to close the Sheet.

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.