AndrewMozley
Programmer
I am creating a standard form class for maintenance of a single table. At preset I have buttons for Edit, Delete, Add, Save, Revert - shall put them on a toolbar in due course, but I am just trying to get off the ground, with help from several books including Hentzen's The Fundamentals (1997 !).
When the user is editing the current record, I wish to enable the Save and Revert buttons, but I do not want to do that until he actually makes a change to one of the text boxes.
So I had thought that I would use the Keypress() event of the form, but that does not appear to fire when I key something into a text box (The Keypress method on the textbox itself does indeed fire).
Is there a way that I can do this, without having to put code into a method for every textbox?
Sorry this is all such basic stuff! Andrew
When the user is editing the current record, I wish to enable the Save and Revert buttons, but I do not want to do that until he actually makes a change to one of the text boxes.
So I had thought that I would use the Keypress() event of the form, but that does not appear to fire when I key something into a text box (The Keypress method on the textbox itself does indeed fire).
Is there a way that I can do this, without having to put code into a method for every textbox?
Sorry this is all such basic stuff! Andrew