O$43: Changing a backpicture on $construct

David Swain dataguru at polymath-bus-sys.com
Tue Jan 26 18:16:36 EST 2010


Actually, $backpicture itself has a number of internal properties,  
notationally speaking:

$backpicture.$picture
$backpicture.$picturealign
$backpicture.$horzdpi
$backpicture.$vertdpi
$backpicture.$horzoffset
$backpicture.$vertoffset

Try some of those.

There are also several property constants for setting some of these  
properties.

It always helps to read the friendly manual... ;-)

Regards,

David

On Jan 26, 2010, at 10:04 AM, IT wrote:

> Hi all,
>
> I have this $construct method in a report with the propose of  
> changing the backpicture of a report.
>
>
> If FR_TIPO='F'
> 	Do FileOps.$readentirefile(con(mid($clib.$pathname;1;rpos(':'; 
> $clib.$pathname));'img:fr.pct');lvBackPicture)
> Else
> 	Do FileOps.$readentirefile(con(mid($clib.$pathname;1;rpos(':'; 
> $clib.$pathname));'img:fr-ab.pct');lvBackPicture)
> End If
> Calculate $cinst.$backpicture as lvBackPicture
>
>
>
> lvBackPicture gets filled (it's a binary field), but i can't change  
> the backpicture. If a do a
>
> Calculate $cinst.$backpicture as ''
>
> it doesn't remove the $backpicture !!!
>
> How I can change the $backpicture of a report ?
>
> regards
>
> xavier
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com




More information about the omnisdev-en mailing list