Forum Replies Created
-
AuthorPosts
-
Stephane Senecal
ParticipantI 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 #56297Stephane Senecal
ParticipantIt'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 Senecal
ParticipantBy “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 Senecal
ParticipantTsDBGrid 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 Senecal
ParticipantI'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 Senecal
ParticipantOk thanks.
How can I specify different buttons (min, max, close) for the two different title heights?
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane Senecal
ParticipantFrom 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 Senecal
ParticipantI 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 Senecal
ParticipantCan 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 Senecal
ParticipantWhere 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 Senecal
ParticipantMight 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 Senecal
ParticipantOk thanks anyway.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane Senecal
ParticipantIs it posible to attach a TsSkinProvider to a standard dialog?
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane Senecal
Participant'roubledo' wrote:Send to what email?
You can attach file in the forum.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane Senecal
ParticipantAh! Cool.
Sorry for the misunderstanding.
Thank you again.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane Senecal
ParticipantOk, thanks. I was asking just in case it was possible.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane Senecal
ParticipantI 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 Senecal
ParticipantI'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 Senecal
ParticipantI 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 Senecal
ParticipantSo, 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 2001 -
AuthorPosts