'Layout Editor' Qtn... [message #396419] |
Mon, 06 April 2009 09:25 |
Maverick27
Messages: 84 Registered: October 2008
|
Member |
|
|
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.
Mave
|
|
|
Re: 'Layout Editor' Qtn... [message #396448 is a reply to message #396419] |
Mon, 06 April 2009 14:48 |
|
Littlefoot
Messages: 21823 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.
|
|
|