Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

How to make a larger "X" ?

Discussion in 'Information Technology' started by Martin, Nov 16, 2005.

  1. Martin

    Martin
    Expand Collapse
    Guest

    To Tony:

    How to make the "X" larger, as you said ? Thanks!


    "Martin" <lajitong888@21cn.com> wrote:

    >When the users click the right-top window "X" to quit the entire ACCESS, is
    >it possible to jump up a message box to alert and let the user to choose
    >whether he really wants to quit the Access ?


    Why not give them a larger close button on each form? Then they have
    a much bigger target to hit and it's much more difficult to close the
    app accidentally.

    Tony
    --
    Tony Toews, Microsoft Access MVP
    Please respond only in the newsgroups so that others can
    read the entire thread of messages.
    Microsoft Access Links, Hints, Tips & Accounting Systems at
    http://www.granite.ab.ca/accsmstr.htm
     
  2. Loading...

    Similar Threads Forum Date
    Legal Larger bench may take up Punjab Sikhs' minority status case Breaking News Nov 19, 2010
    Sikh News New, larger Sikh temple unveiled in Middleton (The Capital Times) Breaking News Apr 28, 2008
    Sikh News Second year in a row, Haryana gets larger Plan size than Punjab (Express India) Breaking News Mar 10, 2008

  3. Smartin

    Smartin
    Expand Collapse
    Guest

    Martin wrote:
    > To Tony:
    >
    > How to make the "X" larger, as you said ? Thanks!
    >
    >
    > "Martin" <lajitong888@21cn.com> wrote:
    >
    >
    >>When the users click the right-top window "X" to quit the entire ACCESS, is
    >>it possible to jump up a message box to alert and let the user to choose
    >>whether he really wants to quit the Access ?

    >
    >
    > Why not give them a larger close button on each form? Then they have
    > a much bigger target to hit and it's much more difficult to close the
    > app accidentally.
    >
    > Tony


    Methinks he meant placing a large command on your form with code behind
    to prevent accidental closure of the application.

    The size of the venerable "X" in the upper-right corner of the Access
    window is determined by individual Windows settings and is not likely
    easy to control in your application.

    --
    Smartin
     
  4. Smartin

    Smartin
    Expand Collapse
    Guest

    err..

    > Methinks he meant placing a large command BUTTON on your form ...


    aa
    --
    Smartin
     
  5. Simple Simon SQL Diamond

    Simple Simon SQL Diamond
    Expand Collapse
    Guest

    Try this bit of code:

    Dim Msg, Style, Title, Help, Ctxt, response, MyString
    Msg = "Are you sure you want to Close this Databse?" ' Define message.
    Style = vbYesNo + vbCritical + vbDefaultButton2 ' Define buttons.
    Title = "System Message" ' Define title.
    Help = "DEMO.HLP" ' Define Help file.
    Ctxt = 1000 ' Define topic
    ' context.
    ' Display message.
    response = MsgBox(Msg, Style, Title, Help, Ctxt)
    If response = vbYes Then ' User chose Yes.
    GoTo LINE1
    MyString = "Yes" ' Perform some action.
    Else ' User chose No.
    MyString = "No" ' Perform some action.
    GoTo LiNE2
    End If

    LINE1:
    Quit

    LiNE2:
    Beep

    End Sub

    "Martin" wrote:

    > To Tony:
    >
    > How to make the "X" larger, as you said ? Thanks!
    >
    >
    > "Martin" <lajitong888@21cn.com> wrote:
    >
    > >When the users click the right-top window "X" to quit the entire ACCESS, is
    > >it possible to jump up a message box to alert and let the user to choose
    > >whether he really wants to quit the Access ?

    >
    > Why not give them a larger close button on each form? Then they have
    > a much bigger target to hit and it's much more difficult to close the
    > app accidentally.
    >
    > Tony
    > --
    > Tony Toews, Microsoft Access MVP
    > Please respond only in the newsgroups so that others can
    > read the entire thread of messages.
    > Microsoft Access Links, Hints, Tips & Accounting Systems at
    > http://www.granite.ab.ca/accsmstr.htm
    >
    >
    >
     
  6. Simple Simon SQL Diamond

    Simple Simon SQL Diamond
    Expand Collapse
    Guest

    Also I forgot to say get rid of the close button on the form to do this
    answer no to the control box propertie on the forms properties.

    Then bind the code Ive given you to a button on the form made to look like a
    close button..

    cheers

    "Martin" wrote:

    > To Tony:
    >
    > How to make the "X" larger, as you said ? Thanks!
    >
    >
    > "Martin" <lajitong888@21cn.com> wrote:
    >
    > >When the users click the right-top window "X" to quit the entire ACCESS, is
    > >it possible to jump up a message box to alert and let the user to choose
    > >whether he really wants to quit the Access ?

    >
    > Why not give them a larger close button on each form? Then they have
    > a much bigger target to hit and it's much more difficult to close the
    > app accidentally.
    >
    > Tony
    > --
    > Tony Toews, Microsoft Access MVP
    > Please respond only in the newsgroups so that others can
    > read the entire thread of messages.
    > Microsoft Access Links, Hints, Tips & Accounting Systems at
    > http://www.granite.ab.ca/accsmstr.htm
    >
    >
    >
     

Share This Page