Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Picture control in rich text presentation

2 posts in DataWindow Last posting was on 2009-09-18 13:07:50.0Z
Anbazhagan Posted on 2008-09-19 07:56:22.0Z
Sender: e57.48d357fd.1804289383@sybase.com
From: Anbazhagan
Newsgroups: sybase.public.powerbuilder.datawindow
Subject: Picture control in rich text presentation
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <48d35b26.e9d.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 19 Sep 2008 00:56:22 -0700
X-Trace: forums-1-dub 1221810982 10.22.241.41 (19 Sep 2008 00:56:22 -0700)
X-Original-Trace: 19 Sep 2008 00:56:22 -0700, 10.22.241.41
Lines: 22
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:87804
Article PK: 417059

Hi

I would like to display a picture (dynamically) in rich text
datawindow. I have created a bitmap control successfully,
but does not appears in the dw.

Here is the code:

ls_ret = dw_rte.Modify( &
"create bitmap(band=Detail pointer='Arrow!' moveable=1
resizeable=1 x='2' y='10' height='3500' width='3000'" + &
" filename='c:\anbu.bmp' invert='0' name=anbu" + &
" tag='s')")

My requirement: the picture should changed whenever the
source is changed (source is the DB blob, from the blob I am
creating a bitmap file using file write function)

Please help me on this.

Thanks & Regards,
Anbazhagan


cch Posted on 2009-09-18 13:07:50.0Z
From: "cch" <cchamorro@arazozabrothers.com>
Newsgroups: sybase.public.powerbuilder.datawindow
References: <48d35b26.e9d.1681692777@sybase.com>
Subject: Re: Picture control in rich text presentation
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4ab38626$1@forums-1-dub>
Date: 18 Sep 2009 06:07:50 -0700
X-Trace: forums-1-dub 1253279270 10.22.241.152 (18 Sep 2009 06:07:50 -0700)
X-Original-Trace: 18 Sep 2009 06:07:50 -0700, vip152.sybase.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.datawindow:89965
Article PK: 419151

YOU HAVE TO RETRIEVE THE BLOB INTO A BLOB VARIABLE, THEM YOU HAVE TO WRITE A
JPG FILE, AND FINALLY ASSIGN THAT JPG FILE TO THE PICTURE CONTROL. IT WORK.

<Anbazhagan> wrote in message news:48d35b26.e9d.1681692777@sybase.com...
> Hi
>
> I would like to display a picture (dynamically) in rich text
> datawindow. I have created a bitmap control successfully,
> but does not appears in the dw.
>
> Here is the code:
>
> ls_ret = dw_rte.Modify( &
> "create bitmap(band=Detail pointer='Arrow!' moveable=1
> resizeable=1 x='2' y='10' height='3500' width='3000'" + &
> " filename='c:\anbu.bmp' invert='0' name=anbu" + &
> " tag='s')")
>
> My requirement: the picture should changed whenever the
> source is changed (source is the DB blob, from the blob I am
> creating a bitmap file using file write function)
>
> Please help me on this.
>
> Thanks & Regards,
> Anbazhagan