Re: [Kinda Resolved] .SetFocus
Is it loaded when you are trying to set focus?
Re: [Kinda Resolved] .SetFocus
Yes it is present on the form, when I invoke it.
Re: [Kinda Resolved] .SetFocus
Hopefully you aren't trying to set focus on the Form_Load event.
Re: [Kinda Resolved] .SetFocus
Does it work ok when you run from complied EXE?
Re: [Kinda Resolved] .SetFocus
Hmmm. one last try...
Set it's EditMode property to true and then try it...
Re: [Kinda Resolved] .SetFocus
What does your "Kinda Resolved" mean?
Re: [Kinda Resolved] .SetFocus
Quote:
Originally Posted by
Pradeep1210
Does it work ok when you run from complied EXE?
Yes it does. However, I cannot completely trust the compiled executable as there are several places in this code where it uses "On Error Resume Next".
Quote:
Originally Posted by
MartinLiss
What does your "Kinda Resolved" mean?
I suspect the container for that control is getting hidden. I am going to look in this direction. Once I find the suspect, I will return and mark it to "RESOLVED".
Re: [Kinda Resolved] .SetFocus
Construct a watch that breaks when the container is hidden. Do you need help in doing that?
Re: [Kinda Resolved] .SetFocus
Quote:
Originally Posted by
MartinLiss
Construct a watch that breaks when the container is hidden. Do you need help in doing that?
That worked.