Feb-20-2021, 08:30 PM
If I needed someone to enter a password I would use a dialog, a separate window. When the password entry is done I close the window. If my program needs multiple views, I make multiple views (frames) that are mapped or unmapped. depending on which controls are currently in use. I almost never change the controls in a view and I don't remember the last time I ever deleted a control. I may unmap a control (usually I unmap a frame), but I never delete. I'll probably need it later.