Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datamanager.afternav event Bug
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Titre:
Datamanager.afternav event Bug
Divers
Thread ID:
00590214
Message ID:
00590214
Vues:
59
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
Fil
Voir

Click here to load this message in the networking platform