I have created a base class with a method of "Edit_Records". In that method, the last line sets focus to some object on the form. What I would like to do is populate a variable on the form (roSetFocus) so when the edit method is called, I can do something like :
I would populate this variable in the Init method of the form, so that I would not have to change the inherited code for each form the that is based on this class.
I have tried several different syntaxes, but to no avail. Thanks in advance for the help.
Greg Grewe
West Chester, Ohio
Code:
THISFORM.roSetFocus.SetFocus()
I would populate this variable in the Init method of the form, so that I would not have to change the inherited code for each form the that is based on this class.
I have tried several different syntaxes, but to no avail. Thanks in advance for the help.
Greg Grewe
West Chester, Ohio