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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Springing a toolbar control

Status
Not open for further replies.

james0264

Programmer
Mar 1, 2005
52
GB
In the status bar control, there is a “Spring” property which auto-resizes the control to file any available space. Is there a similar property for a combo box control embedded into a toolbar? In MSIE, the Address bar is structured in a similar way, and I would like to mimic the properties. Many thanks, James.
 
Any progress so far because I am getting desperate. I have been suggested to use the resize event and the .width method of my combobox but it doesn't look "neat", so please help.
 
Can you use the .Anchor property of the combobox?


I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day! Ye has a choice: talk like a pira
 
jebenson, thanks for replying. Yes, I am currently using that, but then when the form load, how can I determine the avliable width space? I mean, the Anchor property only anchors the distance between two edges, but I have been puzzled to "closing" this gap up. I hope you understand, and sorry for not replying recently, James.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top