General information
Category:
Forms & Form designer
The NODEFAULT seems to work. Except for now the other page ADD NEW doesn't work. That was where my original SETFOCUS problem was.
ADDNEW METHOD
THISFORM.AddSetFocus = .T.
THISFORM.adding = .T.
THISFORM.PageFrame1.Page1.SETFOCUS()
PAGE1.SETFOCUS METHOD
IF THISFORM.AddSetFocus
THISFORM.AddSetFocus = .F.
THISFORM.PageFrame1.Page1.txtVendor.SETFOCUS()
ENDIF
This worked for the other page, but the Page1 it did not. Adding the NODEFAULT after the txtVendor.SETFOCUS() works when you are on page1, but not the original page. When you are at the original page and press the ADD NEW button, the WHEN Method for TxtVendor (on the other page) fires endlessly. (It is just a Wait Window to tell me the When is firing) I have to Ctrl-Alt-Delete.
Any suggestions?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only