Report Builder Custom Preview Form
==================================
Author: Jimmy Harlindong
email:
[email protected]
ICQ# 488305
Version: 1.1
Date: 17 April 1999
Report Builder Version: 4.0x
==================================
ABOUT...
==================================
Standard Preview form provided by most Reporting package is far from nice and easy for
end users. (Well I can only speak for QR, Report Builder, and Report Printer actually).
This Preview form is designed to be as easy and as convenient as possible for end users,
in terms of Navigation and User Interface.
HOW TO USE
==================================
Copy the appropriate files for your Delphi Version to a common
folder, then just add RBPreviewDlg in your PROJECT, and you are all set.
i.e. use menu: Project: Add To Project in D4 or
File: Add To Project in D3
FEATURES
==================================
The features are:
=> Create 'mouse hover' effect by inverting the color of drill down clickable area
=> Menu (by having a TMainMenu on the preview form thus allowing people
using the preview fully without mouse)
The Menu structure is as follows:
File
Print Ctrl + P
-------
Close Ctrl+F4
View
Normal (100%) Ctrl+N
View Entire Page Ctrl+E
Fit To Width Ctrl+W
-------------
Zoom In Ctrl+I
Zoom Out Shift+Ctrl+I
Custom Zoom Factor Ctrl+Z
---------
Show Toolbar (checkmark menu)
Show Status Bar (check mark menu)
Navigate
First Page Ctrl+Home
Previous Page Ctrl+PgUp
Next Page Ctrl+PgDn
Last Page Ctrl+End
----------
Goto Page Ctrl+G
=> Toolbar
=> 'Correct' Keyboard behaviour:
Arrow Key can scroll up or down (haven't implemented right or left but should be really easy)
Page Up / Down will do as usual, but when hit the bottom of the page,
it will go to the next page so people can keep press pgdown and it will go to the next page
Ctrl+Home and Ctrl+End to go to first / last page as in the hotkey of the menu
Home to go to rightmost of the page (if the whole page width is larger than the screen)
End does the reverse of Home
Ctrl Page Up / Down goes directly to the next / prev page without scrolling up / down
=> Nice Mouse Behaviour:
Click will be like page down (like Acrobat)
Hold down and Drag left/right/up/down (again, just like Adobe Acrobat) with
the same mouse cursor like Acrobat's cursor
ADDITIONAL NOTES:
==================================
If you don't want to see the glyph on Close button, just set
RBPCloseBitmap := False; somewhere in your program before doing any preview;
The default is true, which will show a glyph on the Close Button.
RBPCloseBitmap is a global variable that resides in RBPreviewDlg unit.
I need some more suggestions from you guys... any features that you want
to see... anything that you don't like about the current standard preview
(which IMHO is very plain).
Regards,
Jimmy
USERS / BETA TESTERS
==================================
- Myself <g>
- Venedict Vyhzletsov
History:
==================================
v 1.1 17-04-99
==============
- Added Global variable: RBPCloseBitmap
- Check only allow drag if left mouse is pressed, not just any button
- Works with DrillDown reports now.
- Inverts color of DrillDown 'clickable' area to create 'mouse hover' effect
v 1.0 08-04-99
==============
Initial Release