Results 1 to 2 of 2

Thread: [RESOLVED] Resize ToolStripButton

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2011
    Posts
    121

    Resolved [RESOLVED] Resize ToolStripButton

    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!

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Oct 2011
    Posts
    121

    Re: Resize ToolStripButton

    It's alright guys

    I just had to set the "AutoSize" to false to resize it

    this thread is resolved

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width