VB.net Combobox

Associate
Joined
9 Jul 2004
Posts
663
Location
Rotherham
Ive got a Combobox inside a Toolstrip and i need to know if you can make the text indent so when a user types in the combobox the text starts from say 20px in from the left. The dropdown list dosent need to be indented :)

Any way to do this?

Thanks, Ben
 
If you create a usercontrol, inherit the Combobox and override the OnPaint event you'll be able to do what you want.

Just insert this new usercontrol inside the toolstrip instead of the built in combobox and you're sorted.
 
Back
Top Bottom