PC Review


Reply
Thread Tools Rate Thread

Close button

 
 
ali
Guest
Posts: n/a
 
      20th Oct 2008
Is it possiable to trun the form CloseButton off at the open form time and
turn it on in the middle of program after a Command Button is pushed. I tried
the following code and I get an error massage.

Me.CloseButton = True
--
arn
 
Reply With Quote
 
 
 
 
Marshall Barton
Guest
Posts: n/a
 
      21st Oct 2008
ali wrote:

>Is it possiable to trun the form CloseButton off at the open form time and
>turn it on in the middle of program after a Command Button is pushed. I tried
>the following code and I get an error massage.
>
>Me.CloseButton = True



If that's a command button you added to the form, you can
disable it:

Me.CloseButton.Enabled = True ' or Flase

--
Marsh
MVP [MS Access]
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I make prevent the Validate event from going off when the user hits the Close button (the X button) or selects "Close" from the system menu? 0to60 Microsoft Dot NET Framework Forms 5 10th Sep 2008 10:46 AM
Disable Close button and remove Close menu and then reactivate fpsoft Microsoft Dot NET Framework Forms 0 23rd Sep 2007 03:55 PM
Excel shoud not close all active books when clicking close button =?Utf-8?B?dGVjaG5vbWlrZQ==?= Microsoft Excel Misc 0 10th Jun 2005 05:35 PM
excel - Windows close button (x) should only close active workboo. =?Utf-8?B?Q29mZmVlQWRpY3Q=?= Microsoft Excel Setup 3 8th Feb 2005 04:30 AM
Excel 2000 Workbook close button hides instead of close Steven Robinson Microsoft Excel Misc 3 13th Aug 2003 11:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:36 PM.