General information
Title:
Datamanager.afternav event Bug
Have been trying to setfocus to a button after navagating or using find or list.Put the following code in the afternav event:
LPARAMETERS cworkarea
dodefault()
if m.cWorkarea == "Donor"
thisform.HistoryNew.setfocus()
endif
It only works the first time you open the form. The afternav event is slao fired when you press "enter". Talked with CM support and he suggested using the form.SetNextControl() method instead of a direct setfocus call. This doesn't work either.
Has anyone gotten setfocus to work in CM using afternav (or other events)?
Bill
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