ON KEY LABEL command within a form
From: Doug Allan (doug-allan_at_home.com)
Date: 03/17/04
- Next message: Gunther Gloop: "Re: ON KEY LABEL command within a form"
- Previous message: Cindy Winegarden: "Re: Variables VS. DataBase Fields"
- Next in thread: Gunther Gloop: "Re: ON KEY LABEL command within a form"
- Reply: Gunther Gloop: "Re: ON KEY LABEL command within a form"
- Reply: Carsten Bonde: "Re: ON KEY LABEL command within a form"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 17 Mar 2004 22:30:02 GMT
I'm trying to use F keys to access certain aspects of my program, like Save
and Print. These are being used in a form. In the form's Activate method I
have code that reads
ON KEY LABEL F2 DO NewRecord.
When the user presses the F2 key, a new record should be added to the file
with a few default values stuck in. The contents of this new records then
needs to display on the screen. It does the appending fine, but I can't get
it to refresh the screen with the new values.
>From what I've found out about the ON KEY LABEL command, it doesn't allow
you to access form objects. For instance I can't tell it after it's finished
appending the record to do a command like THISFORM.Refresh(). It gives an
error when I do that.
So my question is, how do I refresh the screen after running an ON KEY LABEL
command?
Thanks for your help.
Doug
- Next message: Gunther Gloop: "Re: ON KEY LABEL command within a form"
- Previous message: Cindy Winegarden: "Re: Variables VS. DataBase Fields"
- Next in thread: Gunther Gloop: "Re: ON KEY LABEL command within a form"
- Reply: Gunther Gloop: "Re: ON KEY LABEL command within a form"
- Reply: Carsten Bonde: "Re: ON KEY LABEL command within a form"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|