Results 1 to 4 of 4

Thread: Close button

  1. #1
    Join Date
    Jul 2012
    Posts
    6

    Unanswered: Close button

    I am getting an error when I try to disable the close button during the load or open event. me.closebutton=false doesnt work. any ideas will be appreciated.
    thank you for your help
    Last edited by DJV; 08-28-12 at 18:52.

  2. #2
    Join Date
    Aug 2012
    Posts
    31
    try something like closebotton.Enabled = False

  3. #3
    Join Date
    Aug 2012
    Posts
    31
    If that doesn't work post the error message.

  4. #4
    Join Date
    Jun 2005
    Location
    Richmond, Virginia USA
    Posts
    2,763
    Provided Answers: 19
    The error is popping because you cannot assign a Value to a Command Button, which is what his code was trying to do.

    Run-time error 438: Object doesn't support this property or method

    Linq ;0)>
    Hope this helps!

    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •