- This topic has 8 replies, 2 voices, and was last updated 8 years, 2 months ago by Support.
-
AuthorPosts
-
August 30, 2016 at 2:18 pm #37111Saeidd2016Participant
Hello,
Skinning TDBGridEh has 2 problems:
1.If we set the SkinManager.HueOffset to any number other than zero the color of selected row in DbGridEh does not change with new HueOffset of skin.
2.If the DbGridEh is invisible on program starting and we make it visible at runtime the SkinManager does not skin it and we should write this code to skin it:
Code:sSkinManager1.BeginUpdate;
sSkinManager1.EndUpdate(True, True);Please help.
August 31, 2016 at 7:02 am #55479SupportKeymasterHello
'Saeidd2016' wrote:1.If we set the SkinManager.HueOffset to any number other than zero the color of selected row in DbGridEh does not change with new HueOffset of skin.DBGridEh selection uses standard color, seems. Try to enable the sSkinManager1.Options.ChangeSysColor property.
Quote:2.If the DbGridEh is invisible on program starting and we make it visible at runtime the SkinManager does not skin it and we should write this code to skin it:Code:sSkinManager1.BeginUpdate;
sSkinManager1.EndUpdate(True, True);We can't catch this changing of the Visible property automatically, so, you should use such code in this case:
Code:DBGridEh1.Visible := True;
if sSkinProvider1.Adapter nil then
sSkinProvider1.Adapter.AddNewItem(DBGridEh1);August 31, 2016 at 7:27 pm #55510Saeidd2016Participant'Support' wrote:Hello
DBGridEh selection uses standard color, seems. Try to enable the sSkinManager1.Options.ChangeSysColor property.
I did it but not work and DBGridEh selection color still is standard color.
'Support' wrote:We can't catch this changing of the Visible property automatically, so, you should use such code in this case:
Code:DBGridEh1.Visible := True;
if sSkinProvider1.Adapter nil then
sSkinProvider1.Adapter.AddNewItem(DBGridEh1);I did it but not work and DBGridEh not skined.
September 11, 2016 at 7:56 am #55544Saeidd2016ParticipantPlease Help to solve this problem
September 11, 2016 at 7:02 pm #55545SupportKeymasterHello
Sorry for a long delay. Can you send me a small demo where this code doesn't work, please?
I need more information because I can't repeat it.
September 12, 2016 at 5:16 pm #55547Saeidd2016Participant'Support' wrote:Hello
Sorry for a long delay. Can you send me a small demo where this code doesn't work, please?
I need more information because I can't repeat it.
I attached the demo.
September 12, 2016 at 8:11 pm #55548SupportKeymasterThank you, I see a difference now.
New versions of DBGridEh uses scrollbars as separate controls, it's a reason of problem in skinning of scrollbars.
This issue will be solved on this week in the new release of the AlphaControls.
Drawing of the selection may be changed in the DBGridEh1.SelectionDrawParams property, set SelectionStyle to gsdsClassicEh there.
September 18, 2016 at 5:00 pm #55564Saeidd2016Participant'Support' wrote:New versions of DBGridEh uses scrollbars as separate controls, it's a reason of problem in skinning of scrollbars.Also other components of Ehlib uses scrollbars as separate controls such as DBComboBoxEh , etc.
also VirtualTreeView scrollbars not skined.
September 26, 2016 at 7:39 pm #55589SupportKeymasterHello!
What is version number of used VirtualTreeView?
Could you show me a demo with unskinned scrollbars in VirtualTreeView, please?
-
AuthorPosts
- You must be logged in to reply to this topic.