posted 20 years ago
A gui is its own little world. Once you add a component to it, it (the gui) owns and manages the component. Pointing the reference to another component has no affect on the component previously added, it just means that you can no longer use the reference to get to the added component. To change components the technique is to first remove a component from the gui. Then you are free to add another in its place.