Results 1 to 4 of 4
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Melbourne, Australia
    Posts
    1,294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    press ESC key - dialog box closes (Office XP SP3)

    HI

    in any of the microsoft applications - when the ms dialog boxes are displayed , when you press the ESC key, the dialog box closes.

    We have company templates with custom dialog boxes. The request is to have consistency & when our the custom dialog boxes are displayed & the ESC key is pressed to close the custom dialog boxes.

    How would I program & build this?
    Diana

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: press ESC key - dialog box closes (Office XP SP3)

    That is normal behavior for Windows dialog boxes. If yours aren't behaving that way, perhaps you could provide more specifics, like the application in which they are running and the actual behavior you're seeing.
    Charlotte

  3. #3
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Melbourne, Australia
    Posts
    1,294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: press ESC key - dialog box closes (Office XP SP3)

    Hi Charlotte

    the application is WordXP. The microsoft Word dialog boxes eg Format or Font etc- when you press ESC on these, the dialog box closes. However on our Word custom dialog boxes when pressing ESC - it doesnt have a response, so i thought I would have to program that into our custom word forms

    Diana

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: press ESC key - dialog box closes (Office XP S

    Set the button's "Cancel" property to true. (See attached illustration.)

Posting Permissions

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