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.

Close(parent) problem

2 posts in Objects Last posting was on 2002-08-07 20:54:40.0Z
NIL Posted on 2002-08-06 12:16:46.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "NIL" <whoknows@ctimail.com>
Subject: Close(parent) problem
Date: Tue, 6 Aug 2002 20:16:46 +0800
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 210.0.162.249
Message-ID: <364_BW74qTUPCHA.197@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:1045
Article PK: 713613

Hello,

I am using PB6.5.1 on Windows XP platform. I am having a problem when I use
Close(Parent). When the script run until Close(Parent), all the windows
disappear include the caller windows.

The caller windows scripts on command button is as follows:
this.hide()
openwithparam(w_2, 'abcd')
this.show()

The w_2 windows will retrieve data from db, and do some updation on
datawindow. Then exits script in command button like following:
dw_1.update
close(parent)

After the script "close(parent)", all the windows are disappered. Could
anyone help me to solve this problem??? Thanks a lot.

Regards
Roger


Dawn_Brown_Eyes_[TeamSybase] Posted on 2002-08-07 20:54:40.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: Dawn_Brown_Eyes_[TeamSybase]
Date: Wed, 7 Aug 2002 16:54:40 -0400
Subject: Re: Close(parent) problem
Lines: 2
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_0FB192AD09CA044E0072DE7985256C0E.004755FE85256C0D@webforums>
References: <364_BW74qTUPCHA.197@forums.sybase.com>
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:1040
Article PK: 713600

What type of windows are they? Where is the first window being open from?
What is the code used to open the first window?