>I'm using PGUP and PGDN to navigate through records. When the user's on the last record, and they press PGDN, I want the form to close. Conversely, if they press PGUP while on the first record, I want the form to close.
>
>I'm capturing PGUP and PGDN using ON KEY LABEL and I thought I could use txtMyTextBox.ProgrammaticChange or txtMyTextBox.InteractiveChange to test for eof()...
>
>Problem is... neither one of these events fire when the text box contents change as we move to the next record... Why not? what other method is available to detect this?
>
>Is there a better way?
>
>TIA
Try the keypress and keypreview event for the form.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement