Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Aborting a form (in vfp return .f. in .INIT)
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
VB 8.0
OS:
Windows 7
Network:
Windows NT
Database:
Jet/Access Engine
Application:
Desktop
Divers
Thread ID:
01533071
Message ID:
01533591
Vues:
25
This has not effect, if that was your suggestion. Well it does have an effect, it does fire my .onclosing routine, but then it goes on happily opening the form.

(mind you frmb040 is the base class and this gets called from a derived class).
    Private Sub frmB040_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.Close()
        MyBase.OnLoad(e)
        Exit Sub         
adding mybase.onload(e) does not have any effect, I mean whether it's there or not, the behaviour is the same.

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform