Eleventeen Posted May 15, 2003 Posted May 15, 2003 If you notice when there is text in the text box portion on a Combobox there is a big gap between the border and the first charcter. In a Textbox though, the text is displayed right next to the border. I have a number of both controls on a form and it looks really bad with the spaces in the Comboboxes. Is there a way to have the Textbox have the gap or the combobox lose the gap? Quote
ailzaj Posted May 16, 2003 Posted May 16, 2003 I had the same problem once when by accident I put a blank space in the code to clear the textbox, like this: txtItem.Text = " " Then each item was added to the combo box with a gap on the left. ailzaj Quote
hog Posted May 22, 2003 Posted May 22, 2003 Not sure what you mean here? I don't have any gaps? Are you talking about the indentation? If so just aligh the text to suit your needs, left, centre or right. Quote My website
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.