🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.forms
Article #148

Re: Question about form already open

#148
From: Juergen Koethnig
Date: Wed, 03 Mar 1999 00:00
24 lines
1240 bytes
On Tue, 2 Mar 1999 12:17:53 +0100, teamb@opto-pps.com (Romain Strieff
[TeamB]) wrote:


>It depends, which form? One where you have a reference to?
  
>  if form.mychildform.hwnd # 0
>     form.mychildform.setfocus()
>  else
>     form.mychildform.open()
>  endif

That doesn't work and I think, it's because I didn't make my point
clear enough. I'll try again. 
I do have a formA and a formB. Both do/can instantiate and open a
formC. But in case formA has already instantiated formC and opened it,
I want to display a message, in case someone tries to open formC from
formB. 

Thanks for your help.

Juergen

Please remove 'nospam' from reply to when answering by email.
Technical Details
Message-ID: <36dcd584.1380290@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36db9dc7.6126338@forums.inprise.com> <MPG.1145e749f63586bb989f64@forums.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 15bdfb,3e1ea1934769528f
X-Google-Attributes: gid15bdfb,public
From: ddschulenospam@cityweb.de (Juergen Koethnig)
Subject: Re: Question about form already open
Date: 1999/03/03
Message-ID: <36dcd584.1380290@forums.inprise.com>
X-Deja-AN: 450659498
References: <36db9dc7.6126338@forums.inprise.com> <MPG.1145e749f63586bb989f64@forums.inprise.com>
Organization: Another Netscape Collabra Server User
Reply-To: ddschulenospam@cityweb.de
Newsgroups: borland.public.vdbase.forms