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:
01533575
Vues:
34
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform