File Viewer Viewport Window Contents
The viewport window is where you provide most file-specific UI elements. The
viewport occupies all space in the client area of the main window not used for
the toolbar and status bar. It displays the file contents in whatever mode is
applicable, and it is sensitive to the user-selected printer and page setup, as
well as other View menu commands.
If the contents of the file are too large to be completely displayed within
the viewport, the file viewer should provide scroll bars (with proportional
scroll boxes) to shift the image. If the contents of the file are smaller than the
viewport window, no scroll bars should appear. In addition, the file contents
should not be initially scaled to fill the viewport window unless the user
selects scaling through the View menu commands.
The only other requirement for the viewport window is that it should provide a
context menu for the file. The context menu should appear when the user clicks
the viewport with the mouse button 2. The context menu should include the
following items.
Menu item string
| Equivalent found on other menu
|
"&Open File for Editing"
| Open File for Editing command on the File menu
|
Separator
| Not applicable
|
"Page Se&tup" (optional)
| Page Setup command on the File menu
|
"&Print" (optional)
| Print command on the File menu (note, no accelerator)
|
Separator
| Not applicable
|
A file viewer may add more items as necessary. The Toolbar and Status bar menu
items commands on the View menu should not appear in the context menu.
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database