Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datamanager.afternav event Bug
Message
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Datamanager.afternav event Bug
Miscellaneous
Thread ID:
00590214
Message ID:
00590214
Views:
58
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
Map
View

Click here to load this message in the networking platform