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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Exit from<strong>Source</strong> code in WLanguage can be entered in these processes. See the “Sequence of processes associatedwith a report”, page 135 for more details.To view and/or modify the processes of a control, you can:• select the control and press the [F2] key,• select "Code" from the popup menu of the control (right mouse click on the control),• select the control then, on the "Home" pane, in the "General" group, expand and select "Code ofthe selection",• click the "Code" icon in the control description.6.7.2 Handling a control in a WLanguage processTo handle a report control in a WLanguage process, you must:• use the name of this control directly. This syntax is valid only if the control is handled from the report towhich it belongs,• use the following notation: ".".A control can be handled:• in a WLanguage function,• with a WLanguage property,•by direct assignment.For example:Run when changing control (TAB key, change of control with the mouse, …).This process is available for the edit controls used in preview mode only.// Modify the background color of the CtTotalBT control// in the RPT_Order reportCtTotalBT..BrushColor = LightBlue// equivalent to RPT_Order.CtTotalBT..BrushColor = LightBlue6.7.3 Properties associated with the report controlsThe following properties are associated with the report controls:PropertyBorderBrushColorCaptionCaptionPeriodHeaderColorDisplayCurrencyDisplayedItemEmptyEndDatePeriodDisplayedEffectUsed to find out and modify the characteristics of the border for a report control.Used to manage the background color of a control.Used to find out and modify the text in a static controlUsed to find out and modify the content of the caption for the period displayed inthe header of a Scheduler or Organizer control found in a report.Used to manage the color of the text in a control.Allows you to find out and modify the currency used when a value is displayed in a"Currency + Euro" control.Used to find out and modify the item displayed by the report controlUsed to find out whether the value of the item linked to a control (for the record currentlyprinted) is filled or notUsed to find out the end date of the period currently printed in a Scheduler controlor in an Organizer control found in a report.Part 1: Report editor 89

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

Saved successfully!

Ooh no, something went wrong!