Re: PointToScreen problem in UserControl

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



Pete,

Here again, you obviously misunderstood me.

I don't want you to check my code. I just want to know if anyone else
has seen this problem and knows how to fix it.

And by the way I spent some time with Google and discovered the source
of the problem. It is not actually the PointToScreen at all, but the
StartPosition setting of the form being popped up. If it is not set to
Manual, the first time the form is shown any location that was set is
overridden. Normally when I create a create components like this I hard
code everything. Using a UserControl and dropping components on it is
easier but it is also easy to miss something.

This was the first time I used this technique, and I am relatively new
to C# (but not new to programming). It was a dumb mistake but I have
learned.

So less time? Well I wasn't asking anyone to check my code and if you
knew the answer you could just answer as above. (Did you check the
Form.StartPosition?)

I apologize if everything is not what you expected or exactly the way
you would like it to be.

So relax, Please.

Sorry I can't resist, my hostility and selfishness makes me do it, and I
just like poking at pompous people.

Actually I didn't think I was hostile by pointing out that you seemed
terse and condescending. And as far as selfish, how is asking for help
selfish? I do give back, and post solutions when I find them even if
the solution was not provided here. I do help others, albeit
anonymously.

Even though I have been programming for many years I don't assume I am
superior to anyone. I listen to everyone even novices because anyone can
have a good idea, and even the smartest person can't know everything.

I know you probably think you know more than anyone here. I think you
are probably under 30, been programming for a few years and are fairly
sharp, but not necessarily the smartest one here. I am glad that you
try to help, but now that I have looked at some of your other posts to
other people, I see a pattern. Get over yourself.

I bet you blood pressure is shooting up as you read this...

Have a nice day. ;-)
.



Relevant Pages

  • Re: an old geezer running visual studio for the first time
    ... closing rapidly the connetion again) and only change data by way of SQL ... > oriented design and programming. ... >> But when I ran VS.NET for the first time, I simply didn't know where to ... My reusable code (subs and functions) is ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Programming XCF from MicroBlaze over JTAG???
    ... We are programming Xilinx ... well at least when doing it first time. ... when xilinx had not even published the XCFxxP BSDL files yet. ...
    (comp.arch.fpga)
  • Re: Should I use "if" or "try" (as a matter of speed)?
    ... Shouldn't one avoid doing it the wrong way from the very beginning? ... make it "just work" the first time, you'll probably use the old code later on ... Extreme Programming ... that the refactor "make it right" stage must occur _now_, ...
    (comp.lang.python)
  • Re: an old geezer running visual studio for the first time
    ... it can be frustrating not finding the usual functionality in the usual ... > I have done quite a bit web programming, ... > But when I ran VS.NET for the first time, I simply didn't know where to ... My reusable code is kept ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: An open letter to 2600 magazine...
    ... inequities of the selfish and tyrany of evil men. ... AND YOU WILL KNOW..MY NAME IS LORD WHEN I LAY MY VENGENCE UPON THEE! ... enjoyed that scene as much as the first time! ...
    (alt.2600)