Hi all,
I was working on a bug for an app the other day involving the default value of a command button within a command group being automatically set to true upon gaining focus within a textbox. Now, this only occurred after clicking that button, it never occurs up until that point. The command group contains buttons that when clicked, opens other forms. This button does not however open an SCX form, but a form in a class. Code looks like this
SET CLASSLIB TO myclass ADDITIVE
ThisFormset.AddObject("frmForm, "cnForm")
ThisFormset.frmForm.Show()
RELEASE CLASSLIB myclass
My current workaround was to put code in the KeyPress event of the textbox to set the default of that button to .F. is the user hit enter.
Any ideas?
Thanks