Forum Replies Created
-
AuthorPosts
-
March 9, 2017 at 1:41 pm in reply to: How to design DevExpress grid styles or disable skin for certain classes/controls #56297Stephane SenecalParticipant
It'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 2001Stephane SenecalParticipantBy “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 2001Stephane SenecalParticipantTsDBGrid 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 2001Stephane SenecalParticipantI'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 2001Stephane SenecalParticipantOk thanks.
How can I specify different buttons (min, max, close) for the two different title heights?
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantFrom the code it seems to be using the system color for inactive borders.
As a suggestion, I think it would be better to take the background color of the list and make it darker unless it is a dark background, in that case make it lighter.
Or it could also be that we could set the grid line color at the same place where we can set the colors of odd and even rows in the skin editor.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantI found out from the skin FM, which has the same arrow for dropdown and dropdownlist comboboxes, that there is a hidden property for the BUTTON section.
You can specify the same glyphmask of the combobox into the BUTTON section and it applies that glyph instead of the boring arrow on dropdownlist combobox.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantCan I ask to add that feature?
Could be a second glyph in the COMBOBOX section.
Edit: I would like that feature so I can have an arrow of a different shape that an small triangle. More like the arrow in Windows 10.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantWhere can I specify the arrow glyph for the dropdownlist combobox?
If I am right, the arrow glyph for the dropdown combobox can be specified in the COMBOBOX section under the Glyphs tab, but I can't find the place for the dropdownlist arrow.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantMight be interesting to say what version of windows you're using. It might be related to that.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantOk thanks anyway.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantIs it posible to attach a TsSkinProvider to a standard dialog?
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipant'roubledo' wrote:Send to what email?
You can attach file in the forum.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantAh! Cool.
Sorry for the misunderstanding.
Thank you again.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantOk, thanks. I was asking just in case it was possible.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantI just tested it and it still doesn't work.
I don't know if you had ShowCloseBtns when you tested, but they are not activated for my test.
The event OnDblClick is never triggered.
The event OnMouseDown is triggered when changing tabs, but not if i'm clicking the selected tab.
The event OnMouseDown is triggered when Double-Clicking the selected tab.
The problem is that I cannot know if the user single-clicked the selected tab or double-clicked it.
I don't know if it is important, but I'm using Delphi 7.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantI'm using 11.19 for now. I'll update to 11.21 and test again.
Thank you.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantI see that my post was far from being clear. My apologies.
Let say the date shown in the calendar is today's date.
Click on the title, the year highlighted in the menu is today's year.
In the menu select the last year/month available.
Click again on the title and you should see today's year highlighted instead of the selected date's year.
Hope it is more clear.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantSo, as I understand, I could disable the skinning of the window border if I placed a TsSkinProvider on every window of my application and set DrawNonClientArea to False.
In that case, the window border of standard dialog (ex: open file dialog) will still be skinned.
If I remove srStdDialogs from TsSkinManager.SkinningRules, the window border will not be skinned but the controls too will not be skinned.
If I'm correct, I would like to suggest to add such a feature to disable skinning of window borders but keep skinning of controls.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantI forgot to say that I'm using Delphi 7.
Stephane Senecal
CIS Group
Delphi programmer since 2001 -
AuthorPosts