Re: Disable next and previous record in Forms Developer

From: <chiappa_at_my-deja.com>
Date: Mon, 15 Jan 2001 11:16:33 GMT
Message-ID: <93um6f$58l$1_at_nnrp1.deja.com>


In article <93nkfm$s5d$1_at_nnrp1.deja.com>,   Steve Cosner <stevec_at_csufresno.edu> wrote:
> Preventing user from leaving the record means preventing leaving the
> block as well.

This is the response asked by the original poster, AFAIK.

> All of our forms
> just have a key-next-rec and key-prev-rec triggers to prevent leaving
> the current record (they issue a message), and this seems to work,
 even
> with the pull-down menu Record -> Next.

Yes, the menu itens by default make a DO_KEY; so, the key-nn triggers catch it. BUT, by default, mouse navigation is allowed in all the forms' fields. This way, an user CAN go for another item just clicking on it. To prevent, the original poster can :

  1. use post-nn triggers
  2. disable mouse-navigation
  3. altering mouse-events, maybe using mouse-triggers

Bye,

         Chiappa

Sent via Deja.com
http://www.deja.com/ Received on Mon Jan 15 2001 - 12:16:33 CET

Original text of this message