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.

ShowList = false in LoseFocus event of ddlb causes crash

3 posts in Objects Last posting was on 2002-10-27 14:29:44.0Z
Jochen Detert Posted on 2002-10-25 18:01:45.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Jochen Detert" <detert@solution-execute.de>
Subject: ShowList = false in LoseFocus event of ddlb causes crash
Date: Fri, 25 Oct 2002 20:01:45 +0200
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: hnvr-d9b8ebb4.pool.mediaWays.net 217.184.235.180
Message-ID: <364_DZBVfLFfCHA.162@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:836
Article PK: 713403

Hi,

I have a problem with the ddlb.
I set 'ShowList = true' in GetFocus event.
When I use '...= false' in LoseFocus event the application terminates
abnormal.
Who can help?
I'm using PB 6.5.1.

Jochen


Bruce Armstrong [TeamSybase] Posted on 2002-10-26 17:15:27.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Organization: TeamSybase [12.13.238.140]
X-Newsreader: AspNNTP 1.50 (C I Host)
Subject: Re: ShowList = false in LoseFocus event of ddlb causes crash
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Sat, 26 Oct 2002 13:15:27 -0400
Lines: 27
NNTP-Posting-Host: 66.221.40.1
Message-ID: <364_UjPMHNRfCHA.256@forums.sybase.com>
References: <364_DZBVfLFfCHA.162@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:835
Article PK: 713399

You probably shouldn't be modifying attributes of objects that might cause focus
change in events related to focus change. Why not just leave ShowList enabled?

On Fri, 25 Oct 2002 20:01:45 +0200,
in powersoft.public.powerbuilder.objects

Jochen Detert <detert@solution-execute.de> wrote:
>Hi,
>
>I have a problem with the ddlb.
>I set 'ShowList = true' in GetFocus event.
>When I use '...= false' in LoseFocus event the application terminates
>abnormal.
>Who can help?
>I'm using PB 6.5.1.
>
>Jochen
>
>

Bruce Armstrong [TeamSybase]
http://www.teamsybase.com

Join us for the PB9 WebCasts, October 29th and 30th
http://www.sybase.com/detail/1,6904,1021571,00.html

Not 1 - but 2 new books on developing with PowerBuilder
http://www.pb9books.com

If you would like to continue to be able to use Google
to search *all* of these newsgroups, please contact
Google at and let them know.
mailto:groups-support@google.com

Preach the gospel at all times.
If necessary, use words. - Francis of Assisi
http://www.needhim.org


Jochen Detert Posted on 2002-10-27 14:29:44.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Jochen Detert" <detert@solution-execute.de>
Subject: Re: ShowList = false in LoseFocus event of ddlb causes crash
Date: Sun, 27 Oct 2002 15:29:44 +0100
Lines: 47
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: hnvr-d9b8e40c.pool.mediaWays.net 217.184.228.12
Message-ID: <364_lKSKigcfCHA.332@forums.sybase.com>
References: <364_DZBVfLFfCHA.162@forums.sybase.com> <364_UjPMHNRfCHA.256@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:834
Article PK: 713402

If I leave ShowList enabled, I do not see the objects under the list ;-). I
fixed the problem by simulating a TAB-DOWNARROW to open the list without
using showlist. In this case it closes itself when the ddlb loses focus.


Bruce Armstrong [TeamSybase] <NOCANSPAM_bruce.armstrong@teamsybase.com>
schrieb in im Newsbeitrag: <UjPMHNRfCHA.256@forums.sybase.com>...

> You probably shouldn't be modifying attributes of objects that might cause
focus
> change in events related to focus change. Why not just leave ShowList
enabled?
>
> On Fri, 25 Oct 2002 20:01:45 +0200,
> in powersoft.public.powerbuilder.objects
> Jochen Detert <detert@solution-execute.de> wrote:
> >Hi,
> >
> >I have a problem with the ddlb.
> >I set 'ShowList = true' in GetFocus event.
> >When I use '...= false' in LoseFocus event the application terminates
> >abnormal.
> >Who can help?
> >I'm using PB 6.5.1.
> >
> >Jochen
> >
> >
>
> Bruce Armstrong [TeamSybase]
> http://www.teamsybase.com
>
> Join us for the PB9 WebCasts, October 29th and 30th
> http://www.sybase.com/detail/1,6904,1021571,00.html
>
> Not 1 - but 2 new books on developing with PowerBuilder
> http://www.pb9books.com
>
> If you would like to continue to be able to use Google
> to search *all* of these newsgroups, please contact
> Google at and let them know.
> mailto:groups-support@google.com
>
> Preach the gospel at all times.
> If necessary, use words. - Francis of Assisi