Home » Developer & Programmer » Reports & Discoverer » 'Layout Editor' Qtn...
'Layout Editor' Qtn... [message #396419] Mon, 06 April 2009 09:25 Go to next message
Messages: 84
Registered: October 2008
Somebody pls. advise if it's possible to programmitically change the layout editor.

For example, i have created a field to show images.
For some of images, i want to a larger image for others, smaller.
This criteria is driven by pre-set conditions.

Re: 'Layout Editor' Qtn... [message #396448 is a reply to message #396419] Mon, 06 April 2009 14:48 Go to previous message
Messages: 21148
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
One possible solution might be creating both small and large images at the same time, one over another. Depending on conditions you've mentioned, you'd write a format trigger for both images. As they return Boolean, you'd simply exclude one of them. For example:
-- smaller image format trigger
return (:display_small_image = 'Y');
-- larger image format trigger
return (:display_small_image <> 'Y');
where "display_small_image" represents parameter; if its value is 'Y', you'd display a small image. Otherwise, you'd display a large image.
Previous Topic: problem in Report
Next Topic: how compare two versions of rdf file
Goto Forum:

Current Time: Sat Aug 19 17:41:54 CDT 2017

Total time taken to generate the page: 0.01558 seconds