Hello,
With some experience in VB6 I have significant problems in coding usercontrol for VB.NET
In attached minimal example is simple project for VB2008 where I try to use my simple usercontrol with only one textbox.
Purpose of program is navigating through controls with keyboard and mouse.
But here are problems with mouse. Selecting, aligning etc... what is visible in example.
When I click to usercontrol I woud like to have text selected and left aligned like with keys but that don't happens.
However, VBNET fires unexpectedly some events and I dont know how to fix this.
So please, some experienced user to help me to get my example project to work as expected.
Thanks, nime.
EDIT: To be more precise biggest misunderstanding is in that when I click to usercontrol that on textbox which is inside UC, event _LostFocus occurs!