Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 29 Mar 2024, 10:02

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 02 Mar 2020, 03:34 
Offline

Joined: 06 Sep 2016, 02:27
Posts: 19
Good Morning,
there will be some way to apply a style without activating the option
I tell you what I want
I don't use delphi styles
I want to activate the painting of the Grid according to the configuration of windows 10
when the option of dark in windows is activated repaint the grid if it is clear the same to activate it in the grid.
I have seen that they use the TDBGridEhStyle class that they use to paint the grid.
I had some problems inheriting the class and my query is as follows.
Have you already done any example of how to apply it?

thanks in advance for your valuable help


Top
 Profile  
 
PostPosted: 02 Mar 2020, 14:34 
Offline

Joined: 08 May 2014, 18:06
Posts: 660
Hello.

In EhLib the class TDBGridEhStyle is really present
responsible for some details of rendering grid elements.
But, unfortunately, TDBGridEhStyle does not draw all the elements of the grid.
Some details, such as font color, grid uses
Delphi styles for color request
StyleServices.GetSystemColor
from the Vcl.Themes feature set.

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
PostPosted: 01 Apr 2020, 01:29 
Offline

Joined: 06 Sep 2016, 02:27
Posts: 19
EhLibSupport wrote:
Hello.

In EhLib the class TDBGridEhStyle is really present
responsible for some details of rendering grid elements.
But, unfortunately, TDBGridEhStyle does not draw all the elements of the grid.
Some details, such as font color, grid uses
Delphi styles for color request
StyleServices.GetSystemColor
from the Vcl.Themes feature set.

--------------------------------------------------------------------------------

thanks! for answer
Do you have any projection to do this kind of functionality?


Top
 Profile  
 
PostPosted: 03 Apr 2020, 16:18 
Offline

Joined: 08 May 2014, 18:06
Posts: 660
Hello.

It depends on the amount of work and your willingness to test the result.
If you already have a vision of how this should work and demo projects,
try contacting our tech support: support@ehlib.com or
Skype: ehlib.support

_________________
Best regards
EhLib Support Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 17 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