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

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

KOLToolbar's tboflat handle the height to a fix value? [KOL, Windows]


azsd ©   (2004-04-21 07:46:00) 

Hi,all

I use 32x32 ImageList for KOLToolbar.
I place the text at bottom,
after add tboflat to Toolbar's options,
the toolbar command button's text come to right and the toolbar's height change to different by designed value---seems like 16x16 imagelists toolbar's height.
tboflat + tboTextRight takes same effect.
I think is it a bug?
or uncomplete owner draw function under tboflat options.

KOL 1.91,Delphi 6

by azsd 2004 4 21


azsd   (2004-04-21 10:23:00) [1]

and in mckctrl an other obscure codes (line 8490)


 if (tboTextRight in Options) or
     FixFlatXP and {(Align in [caLeft, caRight]) and} (tboFlat in Options) then
   S := 'tboTextRight';

I choice change it to

 if (tboTextRight in Options) or
     FixFlatXP and not(tboTextbottom in Options) and {(Align in [caLeft, caRight]) and} (tboFlat in Options) then
   S := 'tboTextRight';

to fix when set fixflatxp and tboflat,the tbobottom lose to right 's bug.


azsd   (2004-04-21 10:08:00) [2]

Faint......
I seach in mckctrls and found an heightauto attrib's caluctor has fake function.
oh it mck's fake,not kol.
had corroreted it.


azsd   (2004-04-21 09:20:00) [3]

I use mousespy to detect it actual height fixed to 26,
design-height were 48.
none options can keep the design height.


Наверх

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