x11 Posted March 4 Share Posted March 4 У компонентьі TUniContainerPanel отсутствует собьітие onResize. Как можно отловить в серверной части приложения изменение размера панели? Задача простая: запомнить размер панели, которьій установил пользователь, а потом восстановить при открьітии фрейма. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 4 Share Posted March 4 1 minute ago, x11 said: которьій установил пользователь Каким образом? Quote Link to comment Share on other sites More sharing options...
x11 Posted March 4 Author Share Posted March 4 мьішкой в браузере пользователь может менять размер - ширину Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 4 Share Posted March 4 Ясно, Вы используете клиентское выравнивание. Quote Link to comment Share on other sites More sharing options...
x11 Posted March 4 Author Share Posted March 4 да, на стороне браузера Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 4 Share Posted March 4 9 minutes ago, x11 said: У компонентьі TUniContainerPanel Как я понимаю и этот компонент расположен внутри контейнера? Quote Link to comment Share on other sites More sharing options...
x11 Posted March 4 Author Share Posted March 4 все верно Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 4 Share Posted March 4 А у cpMain Layout = border? Quote Link to comment Share on other sites More sharing options...
x11 Posted March 4 Author Share Posted March 4 да Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 4 Share Posted March 4 Вы можете использовать клиентское событие: function resize(sender, width, height, oldWidth, oldHeight, eOpts) { } 1 Quote Link to comment Share on other sites More sharing options...
x11 Posted March 4 Author Share Posted March 4 Точно! Спасибо, я вспонил, что уже использовал такое решение function resize(sender, width, height, oldWidth, oldHeight, eOpts) { ajaxRequest(sender, "resize", ['width=' + width, 'height=' + height]); } 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.