Is there a way to move CONTROLS from one CONTAINER to another without REWRITING CODE???

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I'm sure I'm not the only one who has experienced this, so here
goes...

You're designing a Form and you decide to put a whole bunch of
controls in a 'container' (say a TabControl, or a GroupBox).

You write all the code that is supposed to fire as the result of
interaction with all the controls contained in that container when...

oh no... you decide that all of the controls would be better placed in
the Form itself, or in another container.

My question is this: Is there a way of moving all the controls to
another container WITHOUT having to rewrite the code in order (to say
the least) add back all the "Handles..." language for every procedure
you wrote for each of the controls?

(I would of course understand if there wasn't such a shortcut, but I
just thought I'd ask).

Thanks in advance.
.



Relevant Pages

  • Re: OOP in database programming - Newbie question
    ... I have no formal Delphi training, but I have written several database ... in them and all data is accessed through database controls. ... manipulating this data and then passing the data ... If I create a class representing the container ...
    (borland.public.delphi.non-technical)
  • Re: Component
    ... Yes I'm using Container to call dispose in all of the components of my ... Controls (I use a Control Composite (here I need to do other little change, ... don't implement IComponent (because this maybe will be not a class that I ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Picture Box Tranparent, CreateDIBPatternBrushPT, PackedDIB
    ... > themselves use picture boxes for their drawing.(i.e no User Control ... in order for my controls to "blend in" nicely with their ... > save, for each object, the pattern gradiant of its container. ...
    (microsoft.public.vb.winapi.graphics)
  • Picture Box Tranparent, CreateDIBPatternBrushPT, PackedDIB
    ... themselves use picture boxes for their drawing.(i.e no User Control ... in order for my controls to "blend in" nicely with their ... save, for each object, the pattern gradiant of its container. ...
    (microsoft.public.vb.winapi.graphics)
  • Re: Contained Controls
    ... loop through only those contrls in that container. ... form VB supplies a Controls collection that contains the ... SetForeColor vbBlue, Groups, Groups ... Set grp = New Collection ...
    (microsoft.public.vb.general.discussion)