Article View: borland.public.cppbuilder.nativeapi
Article #7720How does one tell if a Form is open modally?
From: Mark Jacobs
Date: Wed, 12 Jan 2005 10:40
Date: Wed, 12 Jan 2005 10:40
6 lines
1338 bytes
1338 bytes
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
Technical Details
Message-ID:
<41e4fe65$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!213.73.255.4.MISMATCH!newsfeed.multikabel.nl!lightspeed.eweka.nl!216.196.110.149.MISMATCH!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-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,79de1dee474f0806,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 12 Jan 2005 10:40:38 +0000 From: Mark Jacobs <http://www.jacobsm.com/mjmsg.htm?mj@critical> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: How does one tell if a Form is open modally? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 81.144.157.8 Message-ID: <41e4fe65$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1105526373 81.144.157.8 (12 Jan 2005 02:39:33 -0800) Lines: 6 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!213.73.255.4.MISMATCH!newsfeed.multikabel.nl!lightspeed.eweka.nl!216.196.110.149.MISMATCH!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