Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате |
Форум программистов > Delphi: Для новичков > Second Form and Thread |
Автор: moncef 5.5.2008, 04:45 | ||||
Hi , in my application i use a Second Form which is created on RunTime
in this Second Form i have 3 Buttons and 2 Labels on main form button1 click event MyNewForm.ShowModal; when i launch this Second Form for the First Time every thing goes well , but when i launch it for the Second time it Freezes the Form is Shown but all other Controls are Hidden ( 3 BUTTONS + 2 LABELS ). i thought it's because the Form is not safe Threaded. but how could i thread it , the Values of the 2 labels are from the Main Form
so how could i thread my SecondForm so that whenever i launch it it will not freeze and all their controls are still Visible . Regards. |
Автор: ama_kid 5.5.2008, 07:22 | ||
I think Form isn't guilty ![]() It's not clear enough about code below:
I've tried to remake situation on my own - and I couldn't get your problem, my forms didn't freeze and controls didn't disappear whenever I called the form2. Can you attach the project with problem described? |