Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

Disable Mouse

Discussion in 'Information Technology' started by Janis in Minnesota, Jul 28, 2006.

Tags:
  1. Janis in Minnesota

    Janis in Minnesota
    Expand Collapse
    Guest

    I am wondering if there is an easy way to disable the MOUSE when the user is
    entering in data that HAS TO BE SEQUENTIALLY entered (5 pieces of info have
    to be entered in order). I understand I can lock other fields until they are
    fulfilled but seems to me it would be really nice if I could some how turn
    off the mouse on the first field and turn it back on after update/lost focus
    of the 5th field.

    Any information/direction/advise is GREATLY and IMMENSELY appreciated!!!! :)

    THANKS!!!

    Janis in BEAUTIFUL Minnesota :)
     
  2. Loading...

    Similar Threads Forum Date
    Canada Disabled Pickering Boy, Mugged and Bullied, Takes His Own Life Breaking News Sep 29, 2011
    Legal Pay equal relief to disabled, normal victims in accident: Court Breaking News Jul 20, 2010
    General Disabled people & Reht Maryada Hard Talk Mar 19, 2010
    Sikh Rehat Marayada and the Treatment of Disabled Persons Hard Talk Jun 12, 2005
    Facebook, Twitter users beware: Crooks are a mouse click away Information Technology Oct 20, 2009

  3. Douglas J. Steele

    Douglas J. Steele
    Expand Collapse
    Guest

    Why? I don't feel it's the right of a developer to limit how users use the
    application. What difference does it make what order they fill in the
    fields, as long as they've filled in all of the fields before the record is
    saved?

    --
    Doug Steele, Microsoft Access MVP
    http://I.Am/DougSteele
    (no private e-mails, please)


    "Janis in Minnesota" <JanisinMinnesota@discussions.microsoft.com> wrote in
    message news:FB3294DC-FA71-43AE-A300-BAB394ED637A@microsoft.com...
    >I am wondering if there is an easy way to disable the MOUSE when the user
    >is
    > entering in data that HAS TO BE SEQUENTIALLY entered (5 pieces of info
    > have
    > to be entered in order). I understand I can lock other fields until they
    > are
    > fulfilled but seems to me it would be really nice if I could some how turn
    > off the mouse on the first field and turn it back on after update/lost
    > focus
    > of the 5th field.
    >
    > Any information/direction/advise is GREATLY and IMMENSELY appreciated!!!!
    > :)
    >
    > THANKS!!!
    >
    > Janis in BEAUTIFUL Minnesota :)
    >
     
  4. Janis in Minnesota

    Janis in Minnesota
    Expand Collapse
    Guest

    Why? Because US Customs regulates it - what field 1 is a criteria of what
    field 2 can be, field 3 is depending on 2 . . . see what I mean? So, if for
    these 5 fields, if I could FORCE the user to go through each field
    sequentially it would alleviate a whole lot of rejects and headaches :)



    "Douglas J. Steele" wrote:

    > Why? I don't feel it's the right of a developer to limit how users use the
    > application. What difference does it make what order they fill in the
    > fields, as long as they've filled in all of the fields before the record is
    > saved?
    >
    > --
    > Doug Steele, Microsoft Access MVP
    > http://I.Am/DougSteele
    > (no private e-mails, please)
    >
    >
    > "Janis in Minnesota" <JanisinMinnesota@discussions.microsoft.com> wrote in
    > message news:FB3294DC-FA71-43AE-A300-BAB394ED637A@microsoft.com...
    > >I am wondering if there is an easy way to disable the MOUSE when the user
    > >is
    > > entering in data that HAS TO BE SEQUENTIALLY entered (5 pieces of info
    > > have
    > > to be entered in order). I understand I can lock other fields until they
    > > are
    > > fulfilled but seems to me it would be really nice if I could some how turn
    > > off the mouse on the first field and turn it back on after update/lost
    > > focus
    > > of the 5th field.
    > >
    > > Any information/direction/advise is GREATLY and IMMENSELY appreciated!!!!
    > > :)
    > >
    > > THANKS!!!
    > >
    > > Janis in BEAUTIFUL Minnesota :)
    > >

    >
    >
    >
     
  5. Douglas J. Steele

    Douglas J. Steele
    Expand Collapse
    Guest

    You can open the form with all of the controls except the first one
    disabled:

    Me.Control1.Enabled = True
    Me.Control2.Enabled = False
    Me.Control3.Enabled = False
    Me.Control4.Enabled = False
    Me.Control5.Enabled = False

    In the AfterUpdate event of Control1, enable Control2. In the AfterUpdate
    event of Control2, enable Control3. And so on.

    --
    Doug Steele, Microsoft Access MVP
    http://I.Am/DougSteele
    (no private e-mails, please)


    "Janis in Minnesota" <JanisinMinnesota@discussions.microsoft.com> wrote in
    message news:31FBC6E8-0BBE-4064-A1A1-AEDA24F375A5@microsoft.com...
    > Why? Because US Customs regulates it - what field 1 is a criteria of what
    > field 2 can be, field 3 is depending on 2 . . . see what I mean? So, if
    > for
    > these 5 fields, if I could FORCE the user to go through each field
    > sequentially it would alleviate a whole lot of rejects and headaches :)
    >
    >
    >
    > "Douglas J. Steele" wrote:
    >
    >> Why? I don't feel it's the right of a developer to limit how users use
    >> the
    >> application. What difference does it make what order they fill in the
    >> fields, as long as they've filled in all of the fields before the record
    >> is
    >> saved?
    >>
    >> --
    >> Doug Steele, Microsoft Access MVP
    >> http://I.Am/DougSteele
    >> (no private e-mails, please)
    >>
    >>
    >> "Janis in Minnesota" <JanisinMinnesota@discussions.microsoft.com> wrote
    >> in
    >> message news:FB3294DC-FA71-43AE-A300-BAB394ED637A@microsoft.com...
    >> >I am wondering if there is an easy way to disable the MOUSE when the
    >> >user
    >> >is
    >> > entering in data that HAS TO BE SEQUENTIALLY entered (5 pieces of info
    >> > have
    >> > to be entered in order). I understand I can lock other fields until
    >> > they
    >> > are
    >> > fulfilled but seems to me it would be really nice if I could some how
    >> > turn
    >> > off the mouse on the first field and turn it back on after update/lost
    >> > focus
    >> > of the 5th field.
    >> >
    >> > Any information/direction/advise is GREATLY and IMMENSELY
    >> > appreciated!!!!
    >> > :)
    >> >
    >> > THANKS!!!
    >> >
    >> > Janis in BEAUTIFUL Minnesota :)
    >> >

    >>
    >>
    >>
     
  6. Janis in Minnesota

    Janis in Minnesota
    Expand Collapse
    Guest

    Sorry to be a pain in the butt but this still causes problems. The user can
    enter a field and get out of the application - close. I need the user to
    FINISH entering the data in before getting out, end of story, no exceptions.
    So, I guess I'd have to use the .setfocus variable after update of the field
    - I just hate having all of this code on lost focus and on exit properties .
    .. . it would be awesome if we could just disable the mouse for these few
    fields . . . kind of like going back to character based programming I guess
    ;)

    Thanks for the input!

    Janis

    "Douglas J. Steele" wrote:

    > You can open the form with all of the controls except the first one
    > disabled:
    >
    > Me.Control1.Enabled = True
    > Me.Control2.Enabled = False
    > Me.Control3.Enabled = False
    > Me.Control4.Enabled = False
    > Me.Control5.Enabled = False
    >
    > In the AfterUpdate event of Control1, enable Control2. In the AfterUpdate
    > event of Control2, enable Control3. And so on.
    >
    > --
    > Doug Steele, Microsoft Access MVP
    > http://I.Am/DougSteele
    > (no private e-mails, please)
    >
    >
    > "Janis in Minnesota" <JanisinMinnesota@discussions.microsoft.com> wrote in
    > message news:31FBC6E8-0BBE-4064-A1A1-AEDA24F375A5@microsoft.com...
    > > Why? Because US Customs regulates it - what field 1 is a criteria of what
    > > field 2 can be, field 3 is depending on 2 . . . see what I mean? So, if
    > > for
    > > these 5 fields, if I could FORCE the user to go through each field
    > > sequentially it would alleviate a whole lot of rejects and headaches :)
    > >
    > >
    > >
    > > "Douglas J. Steele" wrote:
    > >
    > >> Why? I don't feel it's the right of a developer to limit how users use
    > >> the
    > >> application. What difference does it make what order they fill in the
    > >> fields, as long as they've filled in all of the fields before the record
    > >> is
    > >> saved?
    > >>
    > >> --
    > >> Doug Steele, Microsoft Access MVP
    > >> http://I.Am/DougSteele
    > >> (no private e-mails, please)
    > >>
    > >>
    > >> "Janis in Minnesota" <JanisinMinnesota@discussions.microsoft.com> wrote
    > >> in
    > >> message news:FB3294DC-FA71-43AE-A300-BAB394ED637A@microsoft.com...
    > >> >I am wondering if there is an easy way to disable the MOUSE when the
    > >> >user
    > >> >is
    > >> > entering in data that HAS TO BE SEQUENTIALLY entered (5 pieces of info
    > >> > have
    > >> > to be entered in order). I understand I can lock other fields until
    > >> > they
    > >> > are
    > >> > fulfilled but seems to me it would be really nice if I could some how
    > >> > turn
    > >> > off the mouse on the first field and turn it back on after update/lost
    > >> > focus
    > >> > of the 5th field.
    > >> >
    > >> > Any information/direction/advise is GREATLY and IMMENSELY
    > >> > appreciated!!!!
    > >> > :)
    > >> >
    > >> > THANKS!!!
    > >> >
    > >> > Janis in BEAUTIFUL Minnesota :)
    > >> >
    > >>
    > >>
    > >>

    >
    >
    >
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page