12:02 pm: ToolStrip.Never heard of it. Let's see how long it takes to
research the answer
Lessee, there's an anchor for the SWF.ToolStrip:
*
http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstrip.anchor.aspx
*
And then I suppose you're adding a ToolStripTextBox, not just a TextBox....
*
http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstriptextbox.aspx
*
Gee, the docs say:
ToolStripTextBox is the
TextBox<http://msdn.microsoft.com/en-us/library/system.windows.forms.textbox.aspx>optimized
for hosting in a
ToolStrip<http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstrip.aspx>.
A subset of the hosted control's properties and events are exposed at the
ToolStripTextBox level, but the underlying
TextBox<http://msdn.microsoft.com/en-us/library/system.windows.forms.textbox.aspx>control
is fully accessible through the
TextBox<http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstriptextbox.textbox.aspx>property.
So, maybe there? Well, lets go check the properties....
[image: Public property]
Anchor<http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripitem.anchor.aspx>
Gets
or sets the edges of the container to which a
ToolStripItem<http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripitem.aspx>is
bound and determines how a
ToolStripItem<http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripitem.aspx>is
resized with its parent.(Inherited from
ToolStripItem<http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripitem.aspx>
.)
Apparently, it does in fact exist.
*
http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripitem.anchor.aspx
*Fancy that. The .NET Framework Class Library uses inheritance. Who would
have thunk it?
12:08 pm. Sending message. 1/10th of an hour, that'll be $5 please.
-- Peter Smith