eternal OnShow chaining problem
Posted on 2002-06-09
I only want FormA to show FormB when/after FormA is shown. As you know, using FormA's onShow event causes a "cannot change Visible in OnShow or OnHide".
Using onPaint,onActivate or onCreate events to call FormB.show gives the same error.
I tried to call FormB's show event before application.run in project.dpr -> same error.
I also have tried with Timer events -> same error despite of how many seconds it waits.
Why Delphi guys don't let programmers do this?. The same Delphi shows multiple forms on startup: Object Inspector,main menu and toolbar,... :[[
I hope that such a basic feature must have an easy and smart way to be implemented (i.e.: afterShow event). I don't want to create threads or complex experiments like the ones I found on similar questions here.
I will give 150+ points if the answer is excellent.