Difference between Select and Focus?

  • Thread starter Thread starter Jon Slaughter
  • Start date Start date
Jon Slaughter said:
Whats the difference?

Thanks,
Jon

BTW, is there any one to prevent a mouse over from setting the focus? I'm
trying to keep track of the last control with the "focus" and manually focus
the current control(one with mouse over).

essentially I don't want a mouse over to change the focus or select of a
control but only the other methods such as tab and a click.
 
Jon Slaughter said:
BTW, is there any one to prevent a mouse over from setting the focus? I'm
trying to keep track of the last control with the "focus" and manually
focus the current control(one with mouse over).

essentially I don't want a mouse over to change the focus or select of a
control but only the other methods such as tab and a click.

Well, I sorta got it but only works with my controls. Have to get last
focused control.
 
Jon Slaughter said:
Well, I sorta got it but only works with my controls. Have to get last
focused control.

The problem I'm having is that I have no way I knowing if a "standard"
control has lost or gained focus? This means that my method of saving the
last focused state to be returned to on certain occasions will not work with
other controls ;/

What I need is some generic method that gets called whenever any focusable
control on the form has lost focus. Not sure if this is possible though ;/

I might be able to find some method in the forms class that allows this but
it seems to get messier and messier.

Thanks,
Jon
 
Jon Slaughter said:
The problem I'm having is that I have no way I knowing if a "standard"
control has lost or gained focus? This means that my method of saving the
last focused state to be returned to on certain occasions will not work
with other controls ;/

What I need is some generic method that gets called whenever any focusable
control on the form has lost focus. Not sure if this is possible though ;/

I might be able to find some method in the forms class that allows this
but it seems to get messier and messier.

Thanks,
Jon

heh, nm. I had to derive from the forms class but was able to get it. Seems
to be working now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top