Information générale
Catégorie:
The Mere Mortals Framework
Titre:
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
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