powerbuilder online courses - by prasad bodepudi mdi applications single document interface multiple...

8
PowerBuilder Online Courses - by Prasad PowerBuilder Online Courses - by Prasad Bodepudi Bodepudi MDI Applications MDI Applications Single Document Interface Multiple Document Interface

Upload: anthony-fields

Post on 20-Jan-2016

215 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: PowerBuilder Online Courses - by Prasad Bodepudi MDI Applications Single Document Interface Multiple Document Interface

PowerBuilder Online Courses - by Prasad PowerBuilder Online Courses - by Prasad

BodepudiBodepudi

MDI ApplicationsMDI Applications Single Document Interface

Multiple Document Interface

Page 2: PowerBuilder Online Courses - by Prasad Bodepudi MDI Applications Single Document Interface Multiple Document Interface

PowerBuilder Online PowerBuilder Online CoursesCourses

Http://www.applied-software.com© Prasad Bodepudi. All rights reserved.

MDI ApplicationsMDI Applications

Single Document InterfaceApplication has only one window.Even multiple windows are present in the

application, all windows act independently.User may think each window is a different

application.Early interface of MS-Windows

Page 3: PowerBuilder Online Courses - by Prasad Bodepudi MDI Applications Single Document Interface Multiple Document Interface

PowerBuilder Online Courses - by Prasad PowerBuilder Online Courses - by Prasad

BodepudiBodepudi

MDI ApplicationsMDI Applications Single Document Interface

Multiple Document Interface

Page 4: PowerBuilder Online Courses - by Prasad Bodepudi MDI Applications Single Document Interface Multiple Document Interface

PowerBuilder Online PowerBuilder Online CoursesCourses

Http://www.applied-software.com© Prasad Bodepudi. All rights reserved.

MDI ApplicationsMDI Applications

Multiple Document InterfaceApplication has one window of type MDI

frame or MDI frame with Microhelp.All other windows are opened as sheets in

the parent window.When a sheet is minimized, sheet’s icon is

displayed at the bottom of the MDI window.Cont...

Page 5: PowerBuilder Online Courses - by Prasad Bodepudi MDI Applications Single Document Interface Multiple Document Interface

PowerBuilder Online PowerBuilder Online CoursesCourses

Http://www.applied-software.com© Prasad Bodepudi. All rights reserved.

MDI ApplicationsMDI Applications

Multiple Document Interface (Cont…)When MDI window is minimized, it’s icon is

displayed either at the bottom of the Program Manager or on the task bar depending on the operating system.

Closing MDI window will close all sheets.Sheets can’t go outside the MDI window.Sheets can be arrange in wide varieties.Cont...

Page 6: PowerBuilder Online Courses - by Prasad Bodepudi MDI Applications Single Document Interface Multiple Document Interface

PowerBuilder Online PowerBuilder Online CoursesCourses

Http://www.applied-software.com© Prasad Bodepudi. All rights reserved.

MDI ApplicationsMDI Applications

Multiple Document Interface (Cont…)Windows are opened as sheets using

OpenSheet() or OpenSheetWithParm() functions.

Opened sheets are listed under one of the menu bar item depending on the argument specified to the above functions.

Cont...

Page 7: PowerBuilder Online Courses - by Prasad Bodepudi MDI Applications Single Document Interface Multiple Document Interface

PowerBuilder Online PowerBuilder Online CoursesCourses

Http://www.applied-software.com© Prasad Bodepudi. All rights reserved.

MDI ApplicationsMDI Applications

Multiple Document Interface (Cont…)Calling GetActiveSheet() from the menu

returns reference to the currently active sheet.

GetNextSheet() returns the reference to the next sheet (order is determined from the list of opened sheets)

Page 8: PowerBuilder Online Courses - by Prasad Bodepudi MDI Applications Single Document Interface Multiple Document Interface

PowerBuilder Online Courses - by Prasad PowerBuilder Online Courses - by Prasad

BodepudiBodepudi

MDI ApplicationsMDI Applications Single Document Interface

Multiple Document Interface

Questions/Comments? Drop an e-mail at [email protected]

The End