Forum Replies Created
-
AuthorPosts
-
It wasn't easy but I managed to reproduce it in a small project.
Edit: I forgot to say that I managed to fix my problem by calling UpdateScale right after the creation of the frame.
Edit2: You might notice another problem in the demo with the title icon being cropped in high dpi.
Stephane Senecal
CIS Group
Delphi programmer since 2001I can't add a TsSkinProvider on a TFrame. They do already have a TsFrameAdapter.
Those frames are created at run-time.
The main form on which they stand does have a TsSkinProvider, but I supose it doesn't work because they are created on the fly.
Any advice?
Stephane Senecal
CIS Group
Delphi programmer since 2001I think it was a typo. I'm quite sure he meant 12.13 since that's the number of the next version.
Stephane Senecal
CIS Group
Delphi programmer since 2001June 5, 2017 at 12:44 pm in reply to: Modal Form does not stay on top with extended borders on Delphi 7 #56781Here it is.
Click on “Show Modal Form” and after that click on the “Main Form” while the modal form is opened.
The modal form should fall behind the main form which is not suposed to do.
Stephane Senecal
CIS Group
Delphi programmer since 2001May 29, 2017 at 12:41 pm in reply to: How to do to affect the Alpha Controls on new components #56738Add TRButton to the TsSkinManager.ThirdParty property
Stephane Senecal
CIS Group
Delphi programmer since 2001I Tried 12.10 this morning and it doesn't seems to be affected by this bug.
Thank you.
Stephane Senecal
CIS Group
Delphi programmer since 2001Sorry for the delay, I was busy.
Your sample project exibit the same problem I was talking about.
It is not so obvious, but in the attachment we can see, highlighted in green, the corresponding lines from top and right lines (this is good).
But the line, hightlighted in red, is missing from the top (and left) of the button.
Stephane Senecal
CIS Group
Delphi programmer since 2001I see in your demo that your button has a border of only 1 pixel.
As stated at the begining of this thread, the problem only appears for border width of even numbers like 2, 4, 6 and so on.
In my screenshot, which was taken from your program ASkinDemo, the border width is set at 2 pixels.
Stephane Senecal
CIS Group
Delphi programmer since 2001Hope is clear enough.
Stephane Senecal
CIS Group
Delphi programmer since 2001I don't know if it is related, but I have a similar problem. I use the SkinSection of the TsLabel to display it as a STATUSBAR, but since 12.06 it does not follow the color of that section in the skin.
Stephane Senecal
CIS Group
Delphi programmer since 2001First you will need to use a TsSpeedButton, not the standard TSpeedButton.
In the properties of the sSpeedButton there is a SkinData property.
Expand it and you'll see the property CustomColor.
Switch it to True and now the button will use the color from SpeedButton.Font.Color instead of the skin color.
Stephane Senecal
CIS Group
Delphi programmer since 2001Funny, now it's the top and left sides that are cropped. (v12.07)
Stephane Senecal
CIS Group
Delphi programmer since 2001I would like to suggest AlphaSkins team to put those icons into the skin.
No icons will be generic enough to fit all possible skins.
Stephane Senecal
CIS Group
Delphi programmer since 2001Yup, it works now.
Thank you.
Stephane Senecal
CIS Group
Delphi programmer since 2001I just realize that the fix you made doesn't do what I needed.
I meant that each time you click on the title it should display the dates relative to the selected date.
Now it always display dates relative to the first date selected (shouldn't be like that).
The problem it causes:
Let say we are in 2017 and you would like to select something in 2100.
You can't because the menu stops at 2062.
From there, the only way to go further, is with the arrows.
Stephane Senecal
CIS Group
Delphi programmer since 2001March 9, 2017 at 1:41 pm in reply to: How to design DevExpress grid styles or disable skin for certain classes/controls #56297It's 256 now or more precisely, any number that bit mask with 256 like 1000 would match (1000 and 256 = 256).
Stephane Senecal
CIS Group
Delphi programmer since 2001By “build from scratch”, I meant that all the drawing is done by the delphi code.
I just wanted to help you to go on with your project.
To AlphaSkins Support : Can you tell Mr. HeDiBo if he has any chances to get the feature he wants or he should think about replacing TsListView with something else?
Thank you.
Good Bye!
Stephane Senecal
CIS Group
Delphi programmer since 2001TsDBGrid is a VCL control build from scratch. It is not based on Windows' LISTVIEW control. It (DBGrid) can do whatever it wants. Contrairy to the LISTVIEW control. You set colors and Windows paint them. But there is no color property for the grid lines.
Stephane Senecal
CIS Group
Delphi programmer since 2001I've seen on other website that suggest to paint over the lines each time they are drawn.
Alternatively, HeDiBo, you could change the TsListView for a TVirtualStringTree from VirtualTreeView, but it's a big change.
Stephane Senecal
CIS Group
Delphi programmer since 2001Ok thanks.
How can I specify different buttons (min, max, close) for the two different title heights?
Stephane Senecal
CIS Group
Delphi programmer since 2001 -
AuthorPosts