Re: Setup-Deployment and Initial Window Focus

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Andy wrote:
I have found a work-around: In the <Form>_Shown method I added the
line:

this.Activate();

which resolved the issue.

I'm glad you found a work-around. However, it would be interesting to understand what you did in your application that requires it.

Since the minimal application works fine, obviously there's some important difference between that minimal application and the one you're having trouble with. Knowing what that difference is could be very useful, and could in fact lead to a more elegant solution than calling Activate(). :)

If you do figure out what the actual issue is, please post back here to share with the rest of us, in case someone else has a similar problem.

Thanks,
Pete
.



Relevant Pages

  • Re: Old Man Smith
    ... Looks like Andy Morrison, andy and Jim have decided to wallow in the ... "the Orange B's would be calling for Smith to get the sack at the end ... The child abuse happened at CBC not at CFC ... and don't have the balls to admit it. ...
    (uk.sport.football.clubs.rangers)
  • Re: Go Ahead, Laugh at Obama
    ... Superman and McCain -- well he is an old man and hard to settle ... As for Bush, he has always parodied ... you really can't tell the difference between calling ... Andy in Eureka, Texa ...
    (soc.retirement)
  • Re: The good, the bad, the brutal
    ... Sure McNabb blew it but fat Andy should have NEVER ... Being mad at Andy for calling a pass play doesn't make any sense. ... Reid always calls pass plays. ...
    (alt.sports.football.pro.phila-eagles)
  • Re: Murray wins
    ... Andy certainly looked beatable ... calling for crowd support, and clearly drained by it all - and it was ... It is only going to get tougher from here on in. ...
    (rec.sport.tennis)
  • Re: Standing in the middle of nowhere
    ... >> Sorry, Sue, you missed my dumb joke. ... smart people calling each other stupid, but now they are both calling themselves ... Andy Cairns ...
    (rec.climbing)