r1 - 06 Jan 2006 - 15:02:30 - TanDunlinYou are here: TWiki >  Main Web  >  ElixirReport > ElixirReportCookbook > ManipulationOfComponentProperties

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

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback