>>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.