Manipulation Of Report Element's Properties
Properties of report element such as 'Alignment', 'Width' and 'Left' can be manipulated using script.
An example will be setting the element to be aligned left if the amount is greater than 100.
- Code Snippet - Code placed at 'On Render Begins' of the component
if (sales > 100)
{
this.setTextAlign("Left");
}
else
{
this.setTextAlign("Right");
}
For more information on other available properties of Report Element can be found at :-
$ELIXIR_REPORT_PROFESSIONAL_HOME\docs\api\index.htm
--
TanDunlin - 06 Jan 2006