Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form won't close
Message
 
À
08/11/1999 11:06:19
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00288419
Message ID:
00288452
Vues:
12
Nancy,

Here is my code for the click method of the delete button. In the click of the save I have the same code except the THIS.setFocus() is after the DO FORM. When I had it there in the delete, the record wasn't deleted. After save, I can close the form but not after delete.

lValidPassWord = .F.
DO FORM passBack with .F. to lValidPassWord
IF lValidPassWord
DODEFAULT()
THIS.setFocus()
ELSE
MESSAGEBOX("You can't delete information.")
ENDIF

Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform