Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Barras de Herramientas
Message
De
23/07/2009 11:40:51
Luis Parada
Prosoft´s de Venezuela, C.A.
Valencia, Vénézuéla
 
 
À
23/07/2009 10:07:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01413953
Message ID:
01413979
Vues:
67
En el click del icono tengo: _screen.ActiveForm.QueryUnload()

en el metodo QueryUnload del formulario tengo:

LOCAL lnCount, lnForName
IF !thisform.WriteBuffer()
NODEFAULT
RETURN .F.
ENDIF
IF !EMPTY(ALIAS())
IF thisform.IsNewAndEmpty()
=TABLEREVERT(.T.)
thisform.salir()
ELSE
IF thisform.DataChanged() AND thisform.AskToSave() = IDCANCEL
NODEFAULT
RETURN .F.
ELSE
lnCount = _Screen.Formcount
IF lnCount > 2
thisform.Destroy()
lnForName = thisform.Name
RELEASE lnForName
ELSE
thisform.salir()
ENDIF
ENDIF
ENDIF
ENDIF
RETURN .T.

Saludos
Luis E. Parada
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform