|
-
Aug 4th, 2010, 10:17 PM
#1
Thread Starter
Lively Member
toolstriptextbox size with form?
well i want to make it so my toolstriptextbox will smoothly size with the form as i resize it. I tried using a timer and just say txtbox1.width = me.size.width - 100 or whatever space for the buttons and handling it for when it reaches negative numbers (with autosize off on the textbox) but its not at all smooth.
I want to be smooth like with Google Chrome. or Firefox...or IE. and that stuff.
Thanks.
-
Aug 4th, 2010, 10:22 PM
#2
Re: toolstriptextbox size with form?
You don't do this using code, but simply by setting the appropriate properties. Follow the CodeBank link in my signature and check out my Tabbed Web Browser thread. The address bar contains a combo box that behaves the way you want.
-
Aug 4th, 2010, 11:46 PM
#3
Thread Starter
Lively Member
Re: toolstriptextbox size with form?
yes. but what is the appropreate property-
-
Aug 5th, 2010, 12:05 AM
#4
Re: toolstriptextbox size with form?
Actually, now that I think about it, you can't do it with items on a ToolStrip using just properties and, as such, I didn't in my Tabbed Web Browser. So, you do need code and that code can be found in that project of mine.
-
Aug 5th, 2010, 10:38 AM
#5
Thread Starter
Lively Member
Re: toolstriptextbox size with form?
but if you resize fast...the textbox disapears....
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|