Topic: Placement of tabs

Good evening everyone, I would like to know if it is possible to change the position of the tabs as in the photo.

Post's attachments

Attachment icon es.jpg 41.25 kb, 15 downloads since 2023-10-19 

Destiny

Re: Placement of tabs

Все ж выходит в "целофановых пакетах":

https://i.imgur.com/P9SSZTb.png

Re: Placement of tabs

Thank you vovka3003, I searched and missed the simplest one.

Destiny

Re: Placement of tabs

And how to rotate a button

Destiny

Re: Placement of tabs

Destiny wrote:

And how to rotate a button

Это только рисовать с нуля, но в MVDb нет необходимых для этого Windows-функций.

Re: Placement of tabs

хорошо спасибо

Destiny

Re: Placement of tabs

Destiny wrote:

And how to rotate a button

You can implement the label on the button as a picture on which the text is rotated in the desired direction.

Визуальное программирование: блог и телеграм-канал.

Re: Placement of tabs

That's an idea, thank you k245.

Destiny

Re: Placement of tabs

В принципе можно и псевдокомпонент сделать из 2-х PageControl-ов.
Левый - мультилайновый
Правый - внутри групбокса или панели (иначе вкладки не спрятать)
TTabSheet-ы левого заполнить в скрипте динамически из правого.
В OnChange левого PageControl-а устанавливать индекс правого.

Можно получить что-то такое:

https://i.imgur.com/5kuxYEm.gif

10 (edited by Destiny 2023-10-20 09:04:40)

Re: Placement of tabs

Вкладки, которые я хочу добавить, — это кнопки, которые будут отображаться в RichEdit, но вертикально в левой части листа.

Post's attachments

Attachment icon es.jpg 41.25 kb, 21 downloads since 2023-10-20 

Destiny

11 (edited by sparrow 2023-11-07 17:09:15)

Re: Placement of tabs

You can do this for PageControl.
Easy to repeat.
Something like this.

Post's attachments

Attachment icon pagecontrol.zip 329.33 kb, 49 downloads since 2023-11-07 

Re: Placement of tabs

Main features of PageControl:
- Tab sizes expand to fit the largest vertical and horizontal label sizes.
- Supports various font sizes, styles... multi-line labels

Added a visual effect for text offset when selecting a tab.
The code has been slightly modified.
Description and comments (basic) added to the script.

Post's attachments

Attachment icon pagecontrol1.zip 9.35 kb, 50 downloads since 2023-11-08