GordonQuayle
Programmer
My application uses run-time Access. It has an unbound form with text boxes that I want the user to be able to position on the form where he wants them.
I have no problem letting him move the text boxes (I'm capturing the KeyDown event on the key pad arrow keys and setting the text box's left and top properties appropriately).
The problem I have is I can't find a way for him to save the changes. The DoCmd.Save has no effect. It seems that changing these properties programmatically does not mark the form as changed. Even in full-blown Access, after moving the controls, when I close the form, it does not ask if I want to save changes. However, if I manually change some attribute, as well as move the controls programmatically, then it will ask to save the form and all changes, manual and programmatic are saved.
But I can't come up a way to save the changes for some one in the run-time environment.
Any ideas?
I have no problem letting him move the text boxes (I'm capturing the KeyDown event on the key pad arrow keys and setting the text box's left and top properties appropriately).
The problem I have is I can't find a way for him to save the changes. The DoCmd.Save has no effect. It seems that changing these properties programmatically does not mark the form as changed. Even in full-blown Access, after moving the controls, when I close the form, it does not ask if I want to save changes. However, if I manually change some attribute, as well as move the controls programmatically, then it will ask to save the form and all changes, manual and programmatic are saved.
But I can't come up a way to save the changes for some one in the run-time environment.
Any ideas?