Sergii Posted April 6, 2021 Share Posted April 6, 2021 Доброго времени суток. Как по нажатию кнопки изменить расположение закладок UniPageControl. Есть пользователи которым нравиться расположение вверху, есть которым нравиться слева. Решил сделать чтобы они сами в процессе выбирали расположение. 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 7, 2021 Share Posted April 7, 2021 13 hours ago, Sergii said: Доброго времени суток. Как по нажатию кнопки изменить расположение закладок UniPageControl. Есть пользователи которым нравиться расположение вверху, есть которым нравиться слева. Решил сделать чтобы они сами в процессе выбирали расположение. Здравствуйте, procedure TMainForm.UniButton1Click(Sender: TObject); begin with UniPageControl1.JSInterface do JSCall('tabPanel.setTabPosition', ['left']); // left, top, right, bottom end; 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 7, 2021 Share Posted April 7, 2021 Quote Link to comment Share on other sites More sharing options...
Sergii Posted April 7, 2021 Author Share Posted April 7, 2021 Greate 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.