|
Technical answers from the trenches |
|
Automatic Edit Mode
| ||||
by Lance Leonard |
Posted: 12 July 2000 |
|||
  |
Applies to: All Versions |
|||
  |
Audience: Everyone |
|||
Question: My users are complaining because they have to hit <F9> before they can edit their data. Can I have the form do this automatically?Answer: Yes! Add the following code to the form's Init() event: self.postAction( dataBeginEdit ) This places a request at the end of the Paradox event queue. By placing the request at the end of the event queue, you allow Paradox to complete any processing that it still needed to completely open the form, including any additional initialization code. The specific action being triggered (dataBeginEdit) is the one that actually enters Edit mode. Please note that the init() method was introduced in Paradox 7; if you are using Paradox 5.01 or earlier, you can accomplish this by adding the same code to the page object's open() method. |
|||
|
||||||||
|
Copyright © 2000-2004, techtricks.com; All Rights Reserved. Acknowledgements, Disclaimers, Terms and Conditions. |
||||||||
|
Article last updated on 31 May 2003
|
||
|
|
||
|
[- End -]
|