Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in cListObjEdit
Message
De
06/11/2001 11:35:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Bug in cListObjEdit
Divers
Thread ID:
00578030
Message ID:
00578030
Vues:
53
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
Fil
Voir

Click here to load this message in the networking platform