C
Carlos J. Quintero [.NET MVP]
How much overhead does this method add to a control though? It seems like
Not much really, and it is one of the 3 well known techniques to create new
controls, "Composite controls", is called. See
Windows Forms Control Development Basics
http://msdn.microsoft.com/library/d...cpconwindowsformscontroldevelopmentbasics.asp
I have not tested it, but it should be explained in the docs. In your case,
with only one control, it should be easy to handle, if some handling is
needed at all.
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
it
adds some additional resource overhead because you are now really
including
two controls for every one that you place on a form.
Not much really, and it is one of the 3 well known techniques to create new
controls, "Composite controls", is called. See
Windows Forms Control Development Basics
http://msdn.microsoft.com/library/d...cpconwindowsformscontroldevelopmentbasics.asp
How does this impact thins like tab order and focus as well?
I have not tested it, but it should be explained in the docs. In your case,
with only one control, it should be easy to handle, if some handling is
needed at all.
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com