How do I stop after the progress bar demonstration? Everything works correctly for me, except for the very end. Everything should stop and wait for pressing the "Ok" key, and only then disappear from the screen.
Code: Select all
Caption = L("Расчет матриц сходства, кластеров и конструктов классов завершен успешно !!!")
oSay97:SetCaption(oSay97:Caption)
oButton:SetCaption('&Ok') // Деструктурирование окна отображения графического Progress-bar
oButton:activate := {||PostAppEvent(xbeP_Close,,,oDialog)} //<<<<<< Add This
DC_AppEvent( @lOk )
* MILLISEC(5000)
oDialog:Destroy()