Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closeable Form
Message
De
13/07/2004 17:18:06
 
 
À
13/07/2004 15:59:36
Fred Wood
Madera Systems Consulting
Mill Valley, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00923953
Message ID:
00923983
Vues:
21
>I have a textbox on a closeable form that has code in it's lostfocus method. Is there a way to not execute the lostfocus method if the user clicks on the close button of the form?

In your LostFocus code of your TextBox, you can put this:
IF thisform.ReleaseType=1
  NODEFAULT
  RETURN
ENDIF
*
* rest of your LostFocusCode here
*
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform