Top.Mail.Ru
Мастера DELPHI, Delphi programming community Титульная страница Поиск, карта сайта Написать письмо 
| Новости | Поиск | FAQ | Статьи | Книги | Новости VCL |
| Форумы ЧАТ | Орешник | KOL и MCK |
Форумы -» Основная («Начинающим»)/ Базы / WinAPI / Компоненты / Сети / Media / Игры / Corba и COM / KOL / FreePascal / .Net / Прочее / RSDN.ORG

« предыдущая ветвь | форум | следующая ветвь »

Remove tab in tabcontrol howto ?


Dodfr ©   (2005-08-03 17:53:00) 

I want to remove a tab in tabcontrol but...where do this ? I tried to count down in object properties but I can just increase this value.

Also in ComboBox, the String Items property is not editable. There is a small "+" but it do not work.


Dodfr   (2005-08-04 12:30:00) [1]

DELETE key ? so easy that I even not thought about using it, sorry vlad :-)

OK for TabOrder, may be it could be added as comment in kol.pas ?

But it works "more or less", in a tabcontrol with 3 tabs for example, the middle cannot be moved, the first can be moved +1 only, but the last one can be moved -1 or -2.


Vladimir Kladov   (2005-08-03 19:36:00) [2]

1. do you have a key DELETE on your keyboard?
2. TabOrder, and save project to force rebuild it or BUILD in TKOLProject.


Dodfr   (2005-08-03 19:07:00) [3]

Also I did not found a way to change Tab ordering once created. Changing TabOrder object inspector property have no effect.


Dodfr   (2005-08-03 19:01:00) [4]

yes, that is what I use actually at runtime but I was looking at IDE way when I working in the form.


Vladimir Kladov   (2005-08-03 18:41:00) [5]

TabControl1.Pages[ i ].Free;


Наверх

Титульная страница Поиск, карта сайта Написать письмо