Article View: borland.public.cppbuilder.nativeapi
Article #7721Re: How does one tell if a Form is open modally?
From: Eelke
Date: Wed, 12 Jan 2005 11:00
Date: Wed, 12 Jan 2005 11:00
11 lines
1421 bytes
1421 bytes
Mark Jacobs wrote: > How does one tell if a Form is open modally? If it is open modally, > setting ModalResult to something, closes the form. However, it does > nothing if the form is open non-modally. I need to Close() it in this > instance, but I can't tell if the form is open modally? TIA, > > MJ FormState.Contains(fsModal) Eelke
Technical Details
Message-ID:
<41e50398$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41e4fe65$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,79de1dee474f0806 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 12 Jan 2005 12:00:54 +0100 From: Eelke <e.klein@mplussoftware.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: How does one tell if a Form is open modally? References: <41e4fe65$1@newsgroups.borland.com> In-Reply-To: <41e4fe65$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.58.1.162 Message-ID: <41e50398$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1105527704 81.58.1.162 (12 Jan 2005 03:01:44 -0800) Lines: 11 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail