General information
Category:
The Mere Mortals Framework
Title:
Bug in cListObjEdit
Kevin et al,
This bug may have been reported before - I'm having trouble scanning for messages in the UT. Here's the problem. When you implement a cListObjEdit control, and then click on "Next" in the toolbar, VFP doesn't like code called in the OnState Change Method:
LPARAMETERS tcstate
DO CASE
CASE tcState = "MOVE"
This.Parent.lseContacts.Clistobj1.SetFocus()
SET CURSOR OFF
CASE tcState = "CANCEL"
This.Parent.SetButtonEnabledstatus()
ENDCASE
RETURN DODEFAULT(tcState)
The problem is in the line :
This.Parent.lseContacts.Clistobj1.SetFocus()
Is not lseContacts an object left-over from a test rig? Doesn't seem to exist in the context, anyway.
Best wishes,
Neil
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