x11 Posted January 19, 2022 Share Posted January 19, 2022 Включил у кнопки стиль tbsTextButton, а там пусто. Текста нет. В справке, как обычно пусто, инфы тоже нет. Как вывести на панели кнопку, чтобы было видно свойство Caption? Свойство Caption заполнено. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 19, 2022 Share Posted January 19, 2022 7 minutes ago, x11 said: Включил у кнопки стиль tbsTextButton, а там пусто. Текста нет. UniToolBar.ShowCaptions = True UniToolBar.ButtonWidth = xx Quote Link to comment Share on other sites More sharing options...
x11 Posted January 19, 2022 Author Share Posted January 19, 2022 даже нажатие на кнопку не работает при этом стиле Quote Link to comment Share on other sites More sharing options...
x11 Posted January 19, 2022 Author Share Posted January 19, 2022 Just now, Sherzod said: UniToolBar.ShowCaptions = True мне нужна только одна кнопка с надписью... я включил и в дизайне начался кошмар а как теперь выключить? как вернуть дизайн прежний? я отключил, но все кнопки ОСТАЛИСЬ как при включенном свойстве кошмар Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 19, 2022 Share Posted January 19, 2022 4 minutes ago, Sherzod said: UniToolBar.ButtonWidth = xx ButtonAutoWidth Quote Link to comment Share on other sites More sharing options...
x11 Posted January 19, 2022 Author Share Posted January 19, 2022 теперь что, все кнопки вручную нужно возвращать в прежний вид? Quote Link to comment Share on other sites More sharing options...
x11 Posted January 19, 2022 Author Share Posted January 19, 2022 Just now, Sherzod said: ButtonAutoWidth вы считаете, это правильно и красиво? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 19, 2022 Share Posted January 19, 2022 28 minutes ago, x11 said: tbsTextButton Там же есть и другой стиль, не так ли? Quote Link to comment Share on other sites More sharing options...
x11 Posted January 19, 2022 Author Share Posted January 19, 2022 ButtonAutoWidth я отключил, но теперь я не могу вернуть ширину кнопок в прежнее состояние, я ставлю 23, нажимаю Enter, а оно Quote Link to comment Share on other sites More sharing options...
x11 Posted January 19, 2022 Author Share Posted January 19, 2022 Just now, Sherzod said: Там же есть и другой стиль, не так ли? Подскажите, какой. Как у отдельной кнопки вывести текст с иконкой? Спасибо. И еще подскажите, как теперь вернуть панель с кнопками в прежнее состояние? Я не могу теперь изменить Width у кнопок. Спасибо. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 19, 2022 Share Posted January 19, 2022 Just now, x11 said: какой tbsButton - есть такой стиль? Quote Link to comment Share on other sites More sharing options...
x11 Posted January 19, 2022 Author Share Posted January 19, 2022 Just now, Sherzod said: tbsButton - есть такой стиль? Конечно есть, но вы меня, наверное меня не понимаете. Мне нужно отобразить иконку с текстом. А данный стиль отображает ТОЛЬКО иконку. Т.е. иконку без текста. Quote Link to comment Share on other sites More sharing options...
x11 Posted January 19, 2022 Author Share Posted January 19, 2022 3 minutes ago, x11 said: И еще подскажите, как теперь вернуть панель с кнопками в прежнее состояние? Я не могу теперь изменить Width у кнопок. Я понял, чтобы вернуть ширину кнопок в прежнее состояние, нужно поменять ButtonWidth у панели. 27 minutes ago, Sherzod said: UniToolBar.ButtonWidth = xx спасибо. Quote Link to comment Share on other sites More sharing options...
x11 Posted January 19, 2022 Author Share Posted January 19, 2022 40 minutes ago, x11 said: Как вывести на панели кнопку, чтобы было видно свойство Caption? Я перефразирую: как у какой-нибудь конкретной одной кнопки (или у двух-трех конкретных кнопок) вывести иконку с текстом? Не у всех кнопок, а у конкретной. Quote Link to comment Share on other sites More sharing options...
x11 Posted January 19, 2022 Author Share Posted January 19, 2022 И чтобы работало нажатие. А то у стиля tbsTextButton нажатие не работает. Перепроверяю. Я в браузере включил вкладку Сеть, нажимаю на кнопку, а запросов на сервер нет. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 19, 2022 Share Posted January 19, 2022 Ок. Мы проверим. 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.