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

Toolbar positioning

Status
Not open for further replies.

ChrisRChamberlain

Programmer
Mar 23, 2000
3,392
GB
What's the best way of ensuring Toolbars follow each other without gaps across the screen?

If you tbrTOOLBAR.Hide/.Show various toolbars, sooner or later you will get an unsightly gap between them, even if tbrTOOLBAR.Left = 0.

TIA

Chris
[sig][/sig]
 
Try undock all/some toolbars and than dock again. [sig]<p>Vlad Grynchyshyn<br><a href=mailto:vgryn@softserve.lviv.ua>vgryn@softserve.lviv.ua</a><br>[/sig]
 
Vlad

Thanks for your response

What seems to work better is:-

tbr1.Hide
tbr1.Dock(0,0,0)
tbr1.Show

tbr2.Hide
tbr2.Dock(0,tbr1.Width,0)
tbr2.Show

tbr3.Hide
tbr3.Dock(0,tbr1.Width + tbr2.Width,0)
tbr3.Show

Chris [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top