Mastering PowerBuilder

HomePrevious Lesson: Course 3:: Session 24 :: Page 420
Next Lesson: Course 3:: Session 24 :: Page 440
Sheet Manager Services

This service is useful when you are writing an MDI application. To use this service, you need to turn on this service:

this.of_SetSheetManager( TRUE )

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

Function Description
of_GetSheetCount Returns the number of sheets that are open
of_GetSheets Returns the list of sheets
of_GetSheetsByClass Returns the list of sheets of a given class
of_GetSheetsByTitle Returns the list of sheets with a given title
HomePrevious Lesson: Course 3:: Session 24 :: Page 420
Next Lesson: Course 3:: Session 24 :: Page 440