WinVask -  Faktura

Basics: Step 4 (Modifying Frame Contents)

Basics: Step 4 (Modifying Frame Contents)

Previous topic Next topic  

Basics: Step 4 (Modifying Frame Contents)

Previous topic Next topic  

 

Time to clean up the report and make it more presentable for yourself and/or your customers! Remember you can move FRAMES with either the keyboard OR the mouse - the choice is yours. For moving a FRAMES in very small increments the keyboard will be more precise and easier; use the mouse to select multiple FRAMES (hold down the CTRL key, then left click on each desired frame to select them individually), then use the keyboard to move the selected FRAMES (while holding down the CTRL key, use the arrow keys to move the selected frame(s) up/down/left/righ) to where they need to go (yes, you can move multiple objects at one time!). Also note that the TAB key on the keyboard will select the next FRAME for you; shift-tab will select the previous FRAME (just as in other Windows programs that you use).

 

We are going to reopen the report that was just created from the Reports Manager by highlighting it inside the Report Manager screen, then click the CHANGE button. This will display the Report Formatter screen once again, with everything just as we saved it.

 

The first thing to change is the default font; some fonts used in Windows are more attractive than others. The Verdana font was designed specifically for readability, and makes an excellent choice for printed reports. You can easily (and quickly) change the font used inside ALL frames in the report by clicking FILE, then select the FONT menu option. You will see a standard Windows font selection window onscreen, allowing you to select the font, it's style and size. Once you select a font and click the OK button you will notice that all of the FRAMES in the DETAIL band will change their font. Be aware that some fonts print larger than other fonts, so if you are tight on space select a font that is narrower than other fonts. For now we'll select Verdana-Regular-8.

 

Located on the Report Formatter toolbar is a button with a blue "A" inside it - this font button will change the font ONLY for a single FRAME that is currently selected (i.e. has the red resizing boxes on the corners). It will NOT change the font used for the entire report!

 

Now we click the FRAME that contains the LAST NAME field from the database - we want to display it with text to make it stand out on the report. After left clicking that frame click the blue "A" button, select Bold then click OK. The contents of that frame will now be boldfaced - you may need to resize this frame, since bold text requires a little more space.

 

Each FRAME in a report can print in a different font; they can even print in different colors! Try not to use too many different types of fonts in your report, as it can become a distraction and make reading it more difficult. Stick with common fonts that are loaded on everyone's machine; otherwise Windows will substitute the font you chose (but isn't installed on another computer) with a font that will cause printing problems (such as a column bleeding into the next colum, improper spacing, etc).

 

To recap: on this page you learned:

 

ð        How to change the default font used in a report
ð        How to change the font characteristics for a single frame
ð        Each frame can be formatted with a different font

 

Next Tutorial Page