Hey Guys! I have a web browser and I made a favourites bar for it.

I create the favourites using my.settings.bookmarks

I use this code to display:

for each b as string in my.settings.bookmarks
dim book as new toolstripbutton
book.text = b
book.tag = b
book.name = b
toolstrip2.controls.add(book)
addhandler book.mousedown, addressof bookclick
next

Everything works perfectly but when a bookmark is added to the bar, it overflows toolstrip2

I need a code that can make the size of the toolstripbutton to fixed so I can resize it

I have tried

book.size = new point(mypointx, mypointy)

and i have tried

book.text.remove(mynum)

but it doesn't have any affects on the toolstrip button

please help!