Mastering PowerBuilder

HomePrevious Lesson: Preferences Service
Next Lesson: Statusbar Service

Sheet Manager Services

This service is useful when you are writing a MDI application. To use this service, you need to turn on this service:
this.of_SetSheetManager(TRUE)

MDI window�s pfc_PostOpen event is a good candidate for this script. The following functions are available at this service:

Function

Description

of_GetSheetCount

Returns a count of the sheets that are open.

of_GetSheets

Returns a list of sheets.

of_GetSheetsByClass

Returns a list of sheets of the given class.

of_GetSheetsByTitle

Returns a list of sheets with the given title.

HomePrevious Lesson: Preferences Service
Next Lesson: Statusbar Service