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:
01533575
Views:
36
>>In VFP, when you return .f. in the .init routine, the form did not come up at all.
>>
>>What would be the "best practice" equivalent in VB.NET, preferrably without the form flashing? I'm issuing a me.close in the layout event, but that flashes.
>>
>>Thanks of any light you could shed on this.
>>
>>Kind regards,
>>
>>Marc
>
>To put a different slant on things ! in my experience anything that is this *non obvious* is usually down to poor design ( no offence intended ) sometimes it's worth taking a step back and start afresh - I will follow with interest

Hey Peter.

You don't want to get me started on what is obvious and what is poor design (no offense taken). :) But you're right, it always pays to take a step back.

In this case I decided to let the caller not execute the show based on a property set in new(). I don't like it because it's not encapsulated in the base class, but I'll live :).

Thanks and kind regards,

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform