Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Aborting a form (in vfp return .f. in .INIT)
Message
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
VB 8.0
OS:
Windows 7
Network:
Windows NT
Database:
Jet/Access Engine
Application:
Desktop
Miscellaneous
Thread ID:
01533071
Message ID:
01533591
Views:
26
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform