diff --git a/components/rx/docs/WhatsNew.eng.txt b/components/rx/docs/WhatsNew.eng.txt index b5e129bfe..99b3bd106 100644 --- a/components/rx/docs/WhatsNew.eng.txt +++ b/components/rx/docs/WhatsNew.eng.txt @@ -1,3 +1,4 @@ + + draw shadow on button image in TToolPanel - Fix error in TDBComboBox.EditingDone if DataSet = nil 22.05.2008 - version 2.0.0.136 (svn revision 100) + In TRxCustomDBLookupCombo add check for CircularDataLink diff --git a/components/rx/docs/WhatsNew.rus.txt b/components/rx/docs/WhatsNew.rus.txt index 7575a83ea..a175a8f0c 100644 --- a/components/rx/docs/WhatsNew.rus.txt +++ b/components/rx/docs/WhatsNew.rus.txt @@ -1,4 +1,5 @@ - - Исправлена ошибка в TDBComboBox.EditingDone; если не присвоен DataSet + + Доработана отрисовка тени у кнопки на TToolPanel + - Исправлена ошибка в TDBComboBox.EditingDone; если не присвоен DataSet 22.05.2008 - версия 2.0.0.136 (svn revision 100) + У объекта TRxCustomDBLookupCombo введён контроль на CircularDataLink + У объекта TRxCustomDBLookupCombo ускорена отрисовка данных diff --git a/components/rx/rxtoolbar.pas b/components/rx/rxtoolbar.pas index eed1cac0a..5d90120ce 100644 --- a/components/rx/rxtoolbar.pas +++ b/components/rx/rxtoolbar.pas @@ -245,7 +245,7 @@ type end; implementation -uses Math, RxTBRSetup, LCLProc, vclutils, Dialogs, typinfo, rxdconst; +uses Math, RxTBRSetup, LCLProc, vclutils, Dialogs, typinfo, rxdconst, GraphType; const BtnAl2Align:array [TToolButtonAllign] of TAlign = (alNone, alLeft, alRight); @@ -423,7 +423,6 @@ begin if FToolbarButtonStyle = tbrDropDownExtra then begin Canvas.Draw(PaintRect.Right - 10, Height div 2, TToolbarItems(FOwnerItem.Collection).FToolPanel.FArrowBmp); -// FArrowBmp Dec(PaintRect.Right, DropDownExtraBtnWidth); end; @@ -524,7 +523,8 @@ begin if ((FLastDrawFlagsA and DFCS_FLAT) <> 0) and ((FLastDrawFlagsA and DFCS_PUSHED) = 0) and (tpGlyphPopup in TToolbarItems(FOwnerItem.Collection).FToolPanel.Options) and FFullPush then begin -// FImageList.Draw(Canvas, Offset.X, Offset.Y, TCustomAction(Action).ImageIndex, false); + FImageList.Draw(Canvas, Offset.X, Offset.Y, TCustomAction(Action).ImageIndex, false); +// FImageList.Draw(Canvas, Offset.X, Offset.Y, TCustomAction(Action).ImageIndex, gdeDisabled); Dec(Offset.X, 2); Dec(Offset.Y, 2); end;