I have a maximized form which has Combo-Box control (docked in top-right) with 500px Width
After trying to open the combo-box , the half of the list goes out-of-screen . how can I force list shows within form?
I have a maximized form which has Combo-Box control (docked in top-right) with 500px Width
After trying to open the combo-box , the half of the list goes out-of-screen . how can I force list shows within form?
Tricky problem. I could not find a good fix for this, merely a workaround. Add a new class and paste the code shown below. Compile. Drop the new control from the top of the toolbox onto your form.
The workaround is not a very good one. The problem is that the dropdown window will ignore the attempt to move it until the drop-down animation is complete. The visual effect is not great, you'll see the window drop down, then jump to the left. I don't know an other way to slap it over the head, maybe somebody else does.
C# version:
VB.Net version: