13.07.2015 Views

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Reminder: If the print destination is an HTML file, the Page Header and Page Footer blocks are edited onceonly.To view the processes specific to a block, use:• "Block code" from the popup menu of the block (right mouse click in the block caption).• the "Code" icon of the block description.Some functions and properties are specifically intended for handling the blocks.Note: The processes associated with a report block are run when this block is printed. A WLanguage code canbe used in these processes. See the “Sequence of processes associated with a report”, page 135 for moredetails.5.6.2 Handling a block in a WLanguage processTo handle a report block in a WLanguage process, you must:• use the name of this block directly. This syntax is valid only if the block is handled from the report towhich it belongs.• use the following notation: ".".A block can be handled:• in a WLanguage function,• with a WLanguage property,•by direct assignment.For example:// Print an iteration blockiPrintBlock("ITERATION1")// Make the "Body" block invisibleBody..Visible = False5.6.3 Properties associated with the report blocksThe following properties can be used with the report blocks:PropertyBorderBrushColorHeightImageInitialHeightNamePlaneProcessReportVisibleWidthEffectUsed to find out and modify the characteristics of a block border.Used to find out and modify the background color of a block.Used to find out and modify the height of a block.Used to find out and modify the background image of a block.Used to find out the initial height of a block.Used to find out the name of a block.Used to find out and modify the plane associated with the block.Used to modify the processes that must be run by the events on a control.Used to find out and modify the display status of a block.Used to find out whether a block is visible and to make a block visible/invisible.Used to find out and modify the width of a block.See the online help for more details.Part 1: Report editor 69

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!