Hi,
Thank you for your very good components.
When i change Form BidiMode to bdRightToLeft ( or DBGridEh BidiMode to bdRightToLeft )
and set VCL Styles on project ( MainMenu - > Project - > Options - > Application -> Appearance )
the DBGridEh drawing not work correct. all Fixed columns color showing in clBlack.
And When i set this property
Code:
DBG.BiDiMode := bdRightToLeft;
DBG.IndicatorTitle.TitleButton := True;
DBG.IndicatorTitle.ShowDropDownSign := True;
DBG.OnBuildIndicatorTitleMenu := DBGridBuildIndicatorTitleMenu;
DBG.DataSource.AutoEdit := False;
DBG.Options := DBG.Options - [DgEditing, DgAlwaysShowEditor, DgConfirmDelete, DgAlwaysShowEditor];
DBG.Options := DBG.Options + [DgAlwaysShowSelection];
DBG.IndicatorOptions := [GioShowRowIndicatorEh];
DBG.Flat := True;
DBG.OddRowColor := $00E2FEFA;
DBG.OptionsEh := DBG.OptionsEh + [DghData3D, DghResizeWholeRightPart, DghDblClickOptimizeColWidth, DghHotTrack, DghColumnResize, DghHighlightFocus];
DBG.RowSizingAllowed := True;
DBG.DrawMemoText := True;
DBG.EmptyDataInfo.Active := True;
then whole grid showed in clBlack.
Best Regards
Babak