Forum Replies Created
-
AuthorPosts
-
HeDiBoParticipant'Support' wrote:
Thank you for the demo-app.
DataModule is not created there, this is a reason why imagelist is not used.
That was quite stupid of me
In my application the module with the images was not created.
HeDiBoParticipant'Support' wrote:Is it possible to make a test-app for this issue?
Here it is:
[attachment=8238:acWebBrws.zip]
HeDiBoParticipantIs the round button still in the planning (it's not present in 12.04)?
HeDiBoParticipant'Stephane wrote:I would like to suggest AlphaSkins team to put those icons into the skin.
No icons will be generic enough to fit all possible skins.
I like the idea.
However, if Icons are made with a transparent background, in most skins they're alright.
HeDiBoParticipant'Support' wrote:This glyph will be better, I think.
That's entirely a matter of opinion.
I think the picture of a page, like you propose now, is not a very clear button for the purpose to select a file.
This is the picture Delphi uses:
[attachment=8226:OpenFile.png]
Looks quite clear to me.
HeDiBoParticipant'Support' wrote:I have updated this skin, try it:
That did the trick Thanks
HeDiBoParticipantThanks
HeDiBoParticipant'Support' wrote:Developer can draw a button with any size of button in own skins.
I'm thinking about a creation of round button with dynamic radius. Maybe such button will be added soon.
Great
HeDiBoParticipant'Support' wrote:I'm planning to add a special field in the skin editor tool and each skin will have own grid color.
Your code will be used for skins where this color is undefined.
Would that work for third party grids too?
HeDiBoParticipantI did some testing and I noticed that you use a 77% setting in the Developer Express Grids.
I tried that, and I found that this is a universally correct setting:
Code:Palette[pcGrid] := BlendColors(Palette[pcEditText], Palette[pcEditBG], 77);Hope you can change this.
HeDiBoParticipant'Support' wrote:I think, I have found a workaround. I will try to implement it in the nearest release (v12.01)
I'm still having problems with the new gridlines in TsListView.
This is the result for the Cappuccino skin:
[attachment=8206:Dark Gridlines 30.jpg]
Because the gridlines are so dark now, you don't see them anymore.
This is the result if the grid lines are drawn in 100% Palette[pcEditText]:
[attachment=8207:Dark Gridlines 100.jpg]
I'm not saying the 100% EditText color is the one to use for all skins. But for dark skins it is much better.
HeDiBoParticipant'Support' wrote:I think, I have found a workaround. I will try to implement it in the nearest release (v12.01)
It works well now in a TsListView.
However I still have a problem with third party components, that are set to adhere to “GRID”.
Example is TjvDBGrid.
Can you apply a similar approach as you did with TsListView?
HeDiBoParticipant'Support' wrote:I think, I have found a workaround. I will try to implement it in the nearest release (v12.01)
That would be brilliant
HeDiBoParticipant'Support' wrote:OnChanging is a standard event which occurs before switching of pages and allows to cancel this switching.
The OnPageChanging event has been added in the package with additional “NewPage” parameter. So, developer can check a new tab and decide – cancel changing to this page or allow it.
Online help is under construction now, I hope to uptodate it soon.
Nice addition. That newpage can come in handy
A non-trivial update of the documentation (help file or PDF file) is much needed.
HeDiBoParticipant'Stephane wrote:TsDBGrid 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.
The Listview has these events:
OnCustomDraw, OnCustomDrawItem, OnCustomDrawSubItem, OnAdvancedCustomDraw, OnAdvancedCustomDrawItem, and OnAdvancedCustomDrawSubItem
they are called regardless of the OwnerDraw property.
The CustomDraw procedure is a protected class and overridable. So, that's a nice point to custom draw the cells of the TsListView.
Also the TsListView manipulates the OnAdvancedCustomDrawItem event already. Looks like a good place to tend to the cells.
By the way, TsDBGrid is not built from scratch. It derives from the TDBGrid class. But the drawing of the cells is indeed taken over completely.
HeDiBoParticipant'Support' wrote:The problem is that grid lines are drawn by the Windows system, used color is clBtnFace there.
Have a look at this picture:
[attachment=8198:Dark Grid.jpg]
It is a TsDBGrid shown with Cappuccino skin. Apparently darker lines are possible.
HeDiBoParticipant'Support' wrote:The problem is that grid lines are drawn by the Windows system, used color is clBtnFace there.
Maybe that's the answer. AC should paint the grid lines itself.
HeDiBoParticipantSince this is a general problem for skins that use grids. the handling of all dark skins has to be changed.
HeDiBoParticipant'Support' wrote:Thank you for screenshots, I will try to improve it in the nearest release.
Do you uses AC v12 or v11?
V11.26
HeDiBoParticipant'TAZ' wrote:This is interesting. According to my Cappuccino, grid lines are more pronounced which are not great but not bad. It would be cool to have grid line thickness but the result maybe the same. Using v11.26.
Perhaps the black background being used causes the grid lines to become really pronounced. One thing you could check is putting both images under a microscope and verify their thickness. Also, the light one's edges might blend more into the background than the dark's ones edges. You never know.
Your picture is for a two column list. That looks not too bad.
My picture was for a 14 column list. That looks absolutely awful.
-
AuthorPosts