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.

PB8.0.3 SetRedraw

2 posts in Objects Last posting was on 2003-02-27 18:49:30.0Z
david_speight Posted on 2003-02-20 16:33:51.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: David_Speight
Date: Thu, 20 Feb 2003 11:33:51 -0500
Subject: PB8.0.3 SetRedraw
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_1B162896AABC1C99005AFD7A85256CD3.005AFD8A85256CD3@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.objects:180
Article PK: 712754

Help!

Has anyone experienced problems with using the setredraw powerscript
function on a visual user object. When we use it, it either GPFs the
application or disables the object permanantly.

I debugged through the code and when it sets uo.SetRedraw(TRUE) it doesn't
appear to work.

One particular area we appear to get this is in the pfc splitbar

Hope someone can help

Regards
Dave


"John Olson [Team Sybase]" <john.olson Posted on 2003-02-27 18:49:30.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "John Olson [Team Sybase]" <john.olson@nospam_teamsybase.com>
Subject: Re: PB8.0.3 SetRedraw
Date: Thu, 27 Feb 2003 13:49:30 -0500
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
NNTP-Posting-Host: tom.scn.spawar.navy.mil 192.171.8.14
Message-ID: <364_ymNF9Qp3CHA.181@forums.sybase.com>
References: <364_1B162896AABC1C99005AFD7A85256CD3.005AFD8A85256CD3@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7217
Article PK: 734506

David,

What version of PB are you using?

There is an issue in PB8 where the following order can result in a gpf:
SetRedraw(FALSE)
SetFilter( <something>)
SetRedraw(TRUE)

There is no indication of a workaround for the SetRedraw regression. You may
need to contact tech support.

Regards,
John
Team Sybase

<David_Speight> wrote in message
news:1B162896AABC1C99005AFD7A85256CD3.005AFD8A85256CD3@webforums...
> Help!
>
> Has anyone experienced problems with using the setredraw powerscript
> function on a visual user object. When we use it, it either GPFs the
> application or disables the object permanantly.
>
> I debugged through the code and when it sets uo.SetRedraw(TRUE) it doesn't
> appear to work.
>
> One particular area we appear to get this is in the pfc splitbar
>
> Hope someone can help
>
> Regards
> Dave