Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 24 Apr 2024, 09:12

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 28 Jul 2012, 12:29 
Offline

Joined: 28 Jul 2012, 12:19
Posts: 1
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


Top
 Profile  
 
PostPosted: 28 Jul 2012, 22:30 
Offline
Администратор

Joined: 22 Dec 2011, 20:19
Posts: 335
Hello Babak

I attached Demo project that I have done from your code.
It works perfectly well. No bugs, artifacts or any other problems.
I tested it under Delphi XE + EhLib 5.6.245

Best regards
Admin


Attachments:
2012-07-29-Bug in DBGridEh VCL Styles RightToLeft.rar [3.41 KiB]
Downloaded 266 times

_________________
Best regards
Admin
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group