Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Align combobox list with combobox

Status
Not open for further replies.

KDavie

Programmer
Feb 10, 2004
441
US
I have a combobox that is used to record the last 10 URLs visited through a web browser control. Occasionally some of the URLs are too long and the combobox aligns to the right side of its list causing the left side to go off the screen. I want to force the list to always be aligned with the left side of the combobox; can this be achieved?

Thanks,

-Kevin
 
The alignment property controls where at in the list itself the text is aligned. I am actually trying to align the left border of the list with the left border of the combobox. It works fine unless a URL is too big, in which case the right sides' align.
 

The alignment property controls where at in the list itself the text is aligned.

I understand. It seemed to me they are connected, aren't they? But I can be mistaken, I didn't have a problem like yours any time recently.
 
They may be connected, but if so it isn't obvious. I now am looking through the code for the _WebCombo class. Perhaps I will find an answer there.

-Kevin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top