Information générale
Titre:
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
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement