Article View: borland.public.delphi.opentoolsapi
Article #87Enable/disable menu item
From: Mike Sutton
Date: Wed, 06 Aug 2008 16:27
Date: Wed, 06 Aug 2008 16:27
4 lines
1522 bytes
1522 bytes
I've added a menu item to the Tools menu, but I need it disabled if the editor isn't currently on a form. I can code that fine, but I need some kind of notification that either the menu is opening or that the current editor file is changing.
Technical Details
Message-ID:
<04kj94hdtjjj7veu3toj3fsij6o7d8qhdp@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10c3df,28dc7e7bc7e64d,start X-Google-Attributes: gid10c3df,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 06 Aug 2008 11:30:12 -0500 From: Mike Sutton <mike@solentsoftware.com> Newsgroups: borland.public.delphi.opentoolsapi Subject: Enable/disable menu item Date: Wed, 06 Aug 2008 17:27:11 +0100 Reply-To: mike@solentsoftware.com Message-ID: <04kj94hdtjjj7veu3toj3fsij6o7d8qhdp@4ax.com> X-Newsreader: Forte Agent 1.92/32.570 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 4 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-ih0xvMUrFtWEZ9JKbQRxMCxgsva0FzW+jTAZ72/3vO9ycQFkGwxj+slrUSn86OfmMoQ/eKXr+VqJxih!Rn6+po1qbKhQxMnHnde1E/wBR1Oyo5iyKw+wR6F+G7ZQcpl7ndV4K1b5bBS4ohwwT9/z7DsoDg== X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39