Forum Replies Created
-
AuthorPosts
-
Stephane SenecalParticipant
I supose he uses it as a filter. More you type less item there is in the list.
That’s what I would do.Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantNot sure if it’s related, but in Delphi 7 I get an error that the property DoubleBuffered is not found in the control TsComboBox.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantNow why TPaintBox is shit…
1. It does’t have a window,
4. It doesn’t get mouse wheel messages, key press, etc…Those are features that comes with a TWinControl based controls like the TPanel.
What makes the TPaintBox so light is that it doesn’t have a window handle. It uses its parent control window handle, but with the concequences of not being able to have focus and receive any window messages.Actually TsPanel is a container and therefore contains a lot of code to support/draw/update/repaint child controls,
what will slow down. Need to remove all code related to child controls.I might be wrong, but I think that if there’s no child controls, it should not impact performance in any meaningful way.
I subclass the class… (or how is it calling right?)
You were looking for deriving a class.
In my humble opinion, I think it could be a good idea to have a TsPaintBox optimized to combine the application’s drawing with AlphaSkins’ painting in a non flickering maner.
I’m just afraid that it might not be what you are looking for.Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantMy two cents here (i’m not affiliated with AlphaSkins).
Your control seems to be way more complicated than a TPaintBox. And since your demo is based on a TsPanel, I don’t understand what benefit a TsPaintBox could bring you.Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantTsPanel has an OnPaint event. You might wan’t to try that.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantAny idea when a new version will be released with this fix?
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantThis bug isn’t fixed in 16.10.
Do you need help to reproduce it?
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantIt is unskinned because I disabled it in TsSkinManager.Options.DrawNonClientArea = False.
In the screenshot, when I click on the red X in the Print Setup Dialog, it does nothing.
Attachments:
You must be logged in to view attached files.Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantI think you misunderstood what I meant by centered on selected item.
You made the dropdown list to open centered on the combobox. It is not want I meant.I mean that when you open the dropdown list, the item that falls under the mouse at this moment it is the one that is currently selected.
I have attached a new video. Please notice that the item under the mouse when the dropdown list of combobox is opened is the same as the one that was selected in the combobox before.
By the way, I recorded this video in the “XAML Controls Gallery” app from Microsoft (available in the Microsoft Store). It might interest you.
Attachments:
You must be logged in to view attached files.Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantWhat do you think about DropInplace?
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantAt this point you’ll have to wait for an official response from AlphaSkins.
I cannot help you any further.Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantLooks like the skin you are using is newer than the version of AlphaSkins that is installed in Delphi.
You can check the version of the skin by clicking the 3 dots under the SkinInfo property of the control sSkinManager.
Compare it with the version number of the control sSkinmanager itself.Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantYou need to have a skin selected in SkinName before you can enable the Active property.
If no skins are listed in the drop down of the SkinName property, you might want to check the SkinDirectory property.P.S. You should have started a new question. Your problem has nothing to do with he original question.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantHave you been able to simulate?
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantDelphi 7 and AS 15.22
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantI don’t think inverting the colors of an image is a good idea. It could have adverse effects on color images.
HeDiBo, I thought you only wanted to use an image as a mask.
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantOut of curiosity, are the frames placed on the form at design-time or they are created at run-time?
Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantFrom the icon of the form, it looks like Delphi 2007. I might be wrong.
Stephane Senecal
CIS Group
Delphi programmer since 2001August 24, 2020 at 11:01 pm in reply to: AC15.13: TsMonthCalendar should have a function to reload #69344Stephane SenecalParticipantYou could leave the event OnAcceptDate unset at design and set it at runtime when you are ready to process which dates should be available. Just after setting the event, call RefreshAcceptedDates().
When you need to disable the verification of dates, set OnAcceptDate to nil and set it back to your function when ready with a call to RefreshAcceptedDates().Stephane Senecal
CIS Group
Delphi programmer since 2001Stephane SenecalParticipantSame behavior I see in system buttons of the file explorer.
As we can see in Windows Explorer, there is a delay before the first hint is displayed, but when a hint is showing it updates immediately if it encounters another control.
I think HeDiBo means that there should be a delay before the first hint is shown.
In Delphi there is the option Application.HintPause which is the delay before showing a hint (default to 500 milliseconds).
Stephane Senecal
CIS Group
Delphi programmer since 2001 -
AuthorPosts