Forum Replies Created
-
AuthorPosts
-
Saeidd2016Participant
Reading the code reveals that there is no property for this. But in TsPageControl.InitTabContentData you see that there is BtnOffsX which is constant. That procedure will initialize the dContent parameter for TsPageControl.PaintButton.
const BtnOffsX = 4; // Offset of the Close button from right border
You need to fix the original code to move it. However, I think that close button is exactly in the right place. Or maybe you are using some skin which is not ok.
The BtnOffsX is a constant and in high dpi screens it doesn’t change to greater value.
Saeidd2016ParticipantThanks, For VirtualTreeView it doesn’t work.
Excuse me it works correctly.
Saeidd2016ParticipantHello!
The ChangeControlColors procedure is declared in the sVCLUtils unit:procedure ChangeControlColors(AControl: TControl; AFontColor, AColor: TColor);
If color value is clNone then default color will be used there.
I hope it helps.Thanks, For VirtualTreeView it doesn’t work.
Saeidd2016ParticipantHello support. The above posts are very old. In new version of AlphaControls is there a way to set a custom font color of a third party control?
Saeidd2016ParticipantHello! I will verify and fix it soon.
Hello, Did you fix this problem?
Saeidd2016ParticipantHello! I will verify and fix it soon.
Thank you.
Saeidd2016Participant'Support' wrote:Hello!
Please, specify dialogs which you mean? Dialogs like sShowMessage or sMessageDialogs uses texts, localized by Windows system automatically.
Hello, Thanks to answer. For example TsColorDialog, TsOpenDialog , etc. I want to change Ok and Cancel buttons caption, dialog title , etc.
Saeidd2016Participant'Support' wrote:Try this link: http://www.alphaskins.com/sfiles/stable/acnt_dx10tokyo.zip?
And look a date of the package file creation, maybe you are checking a wrong file (old).
Thank you very much.
Saeidd2016Participant'Support' wrote:Maybe you received the package from the cache? Try to download again.
Thank you. I downloaded it several times but it's version is 14.25 . How I clear he cache?
Saeidd2016Participant'Support' wrote:Hello
Which link has been use for downloading?
Saeidd2016Participant'Lasse' wrote:It is. This was the first message: “When we set a TsAlphaImageList as image list of TVirtualTreeView component, it only shows grayed images and doesn't show colored images.”.
This issue happens only with virtual tree. I try to find time to create a small demo.
Yes I had wrote the first message. The problem still exists in v14.24 .
See the attached demo. I have two images in the AlphaImageList. The first image is grayed and the second is colored. The first image is shown correctly both in VirtualTreeView and sSpeedButton but when you set the image index of them to 1 (colored image) the image is shown as a white square.
[attachment=9303:ImageList.png]
[attachment=9302:Minimal.rar]
Saeidd2016Participant'Support' wrote:Are you sure? Can you show it on the screenshot, please?
Maybe I made a mistake.
'Support' wrote:The ActiveTabEnlarged property does this trick, please look the attached screenshot.
When application is not dpi aware that's right but if it is dpi aware the issue exists. See screenshot.
[attachment=9165:Page4.png]
Saeidd2016Participant'Support' wrote:Have you seen the ActiveTabEnlarged property in the TsPageControl component? You tried it? Maybe it helps?
I can't change a standard behavior of the component, compatibility with standard behavior is important.
Enabling or disabling the ActiveTabEnlarged property has no effect on this issue. The DevExpress PageControl has not this issue. Is it possible to skin it?
Saeidd2016Participant'Saeidd2016' wrote:1. In smVCL scale mode and 4K display the horizontal scrollbar buttons width is low and don't show correctly (and about vertical scrollbar, it's height is low). see screenshot.
[attachment=9083:ScrollButton.png]
'Support' wrote:Thank you for screenshots, this issue will be solved in the nearest release.
Thank you, Now the issue has been solved but it exists in DBGridEh scrollbars. see screen shot.
[attachment=9140:Ehlib.png]
Saeidd2016Participant'Support' wrote:Sorry, I meant a version of used “Notes Plastic” skin, not the package.
Are you sure, this skin is not old?
The skin is in the latest package skin folder.
Saeidd2016Participant'Support' wrote:Hello
Are you sure that latest version of the skin used there?
Hello,
Yes, The previous screenshot is for version 14.13 demo.
January 11, 2019 at 10:50 am in reply to: Accessing to a skin section properties and options at run time #58873Saeidd2016ParticipantThanks a lot,
What is the TextureIndex? How can I access to the section texture and get it's color? (I have set the color of state as texture)
Is it possible to add an ability to set common colors or state colors from Master.png like textures?
Saeidd2016Participant'Support' wrote:Yes, images are scaled automatically and these lines are result of scaling, I think.I can tell more if you give me this skin and I can look it.
I Edited the ScrollBar elements of BlueShadows skin. Please check it out.
[attachment=9093:Blue Shadows-Edited.rar]
January 6, 2019 at 12:57 pm in reply to: Accessing to a skin section properties and options at run time #58862Saeidd2016Participant'Support' wrote:You can specify what you need to do, I can help better then, I think.
Thank you for early reply.
I don't want to change any options of sections at run time. But I want two things:
1. Setting of common colors and options of sections from Master.png (like colors, border, text color , etc).
For example about section EDIT I want to set the normal state color from Master.png instead of setting it from color picker. so I've drawn a rectangle in Master.png width wanted color and I set the normal state texture with that rectangle.
2. Getting some options of sections at run time to use them in other third party components like VirtualTreeView, DBGridEh, etc.
For example I want to set the VirtualTreeView colors from my own sections at run time (such as background color, selection color , etc). So I need accessing to my own section color that given it as texture.
Another example: I have created a section and set it border image from Master.png . At run time I want to access to that image and save it in temp folder and then add it to a AlphaImageList and use it for VirtualTreeView node images.
Another example: Now if we want to use icons for buttons (TsButton, TsBitBtn, TsSpeedButton) we add all icons to a AlphaImageList and set the images property of buttons to it. But I have created a section for each button that I have in project and set it's icon from Master.png in BorderImage.
The advantage of this idea is that by replacing the Master.png with another one, all common colors and all options of skin sections and all Icons used for components such as buttons, edits, third party, etc will be change without any changes in ImageLists, colors, etc.
Please add this ability to set colors (all common colors and own colors for each skin section) from Master.png like textures.
Excuse me for bad English.
Saeidd2016Participant'Support' wrote:You should make additional images which are bigger to 2 times and define them for 200% scale mode.
That's right but if not defined any image for 200% scale mode it should use the default image defined for 100% mode and scaled it in bigger scale modes. right?
'Support' wrote:Btw, you can convert MasterBitmap.bmp to Png format and use partially transparent images there (since v14).
My Master image format is Png.
-
AuthorPosts