Textbox with label class

  • Thread starter Thread starter Colin Stutley
  • Start date Start date
C

Colin Stutley

I find the task of placing Text manually next to a TextBox a pain - which is
only amplified when I move/align the textbox and then have to do the same
with the text.

Has anyone got example of a new class/component/helper which allows you to
drop a textbox onto a form, and have a 'Caption' property of that textbox
manage the 'text' item in design & runtime mode?

TIA,
- Colin Stutley
 
did you try writing it as a user control which includes a label and a
textbox?
the only thing I don't get is how do you expect the component/whatever
to distribute the width between the label and the textbox?
 
Looked at that path - but the result was that I could not align the
textboxes. I would like to align a selected group of textboxes by the left
side of the original textbox, a contol (with embedded label) would align the
left side of the control.

I am looking at designed extensions. A textbox design time extension which
could manage code insertion of a text item and track that text item on
design time field moves/resize/deletes etc - but at this point my head is
hurting and I was hoping that others would have been down this path before.

I am also surprised that a modern IDE does not have this in the first place,
even old MSAccess had this sort of basic designer assistance.
 
Back
Top