Focus problem in visual control (Navision 5.01)

dietmarruefdietmarruef Member Posts: 48
Hello folks!

We have created a visual control (in C#) that shows a tree control in Navision. This control works fine
and runs quite fast. Now we add a new field to search in the tree control for specific nodes.
Since this we have the following problem: When the customer in Navision looks now for something in the
tree control and want to search afterwards, it is not possible to focus the search textbox anymore. Only when
the users resizes or move the form in Navision it regains the focus.

I tried so far several constellations to retrieve the focus again, but without success. We created the control in the way
as usual overdraw a Navision control. Has somebody an idea to how we can keep the focus?

Thanks in advance,
Dietmar
Sign In or Register to comment.