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.

Resetting a picture control

2 posts in Objects Last posting was on 2005-09-20 20:37:29.0Z
Diego Marrero Posted on 2005-09-20 20:01:54.0Z
From: "Diego Marrero" <diego@vegati.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Resetting a picture control
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 240.red-80-36-136.pooles.rima-tde.net
X-Original-NNTP-Posting-Host: 240.red-80-36-136.pooles.rima-tde.net
Message-ID: <43306ab2@forums-1-dub>
Date: 20 Sep 2005 13:01:54 -0700
X-Trace: forums-1-dub 1127246514 80.36.136.240 (20 Sep 2005 13:01:54 -0700)
X-Original-Trace: 20 Sep 2005 13:01:54 -0700, 240.red-80-36-136.pooles.rima-tde.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8618
Article PK: 735832

Hi all.

The function
picturecontrol.SetPicture (blob)
sets the picture in a picture control. How do you reset it, that is, assign
no picture to the control?

TIA

Diego Marrero


Diego Marrero Posted on 2005-09-20 20:37:29.0Z
From: "Diego Marrero" <diego@vegati.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <43306ab2@forums-1-dub>
Subject: Re: Resetting a picture control
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 240.red-80-36-136.pooles.rima-tde.net
X-Original-NNTP-Posting-Host: 240.red-80-36-136.pooles.rima-tde.net
Message-ID: <43307309$1@forums-1-dub>
Date: 20 Sep 2005 13:37:29 -0700
X-Trace: forums-1-dub 1127248649 80.36.136.240 (20 Sep 2005 13:37:29 -0700)
X-Original-Trace: 20 Sep 2005 13:37:29 -0700, 240.red-80-36-136.pooles.rima-tde.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8619
Article PK: 735833

Ok, I got it.

p_1.PictureName = ' ' (space, it does not work with the empty string '')


"Diego Marrero" <diego@vegati.com> escribió en el mensaje
news:43306ab2@forums-1-dub...

> Hi all.
>
> The function
> picturecontrol.SetPicture (blob)
> sets the picture in a picture control. How do you reset it, that is,
assign
> no picture to the control?
>
> TIA
>
> Diego Marrero
>
>