Stephane Senecal

Forum Replies Created

Viewing 20 posts - 21 through 40 (of 197 total)
  • Author
    Posts
  • in reply to: Rounded buttons #70538
    Stephane Senecal
    Participant

      To be more obvious, you need to use the BUTTON_BIG section

      Stephane Senecal
      CIS Group
      Delphi programmer since 2001

      in reply to: TsComboBox dropdown list refresh #70249
      Stephane Senecal
      Participant

        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 2001

        in reply to: TsComboBox error #70222
        Stephane Senecal
        Participant

          Not 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 2001

          in reply to: I would really like to see the TsPaintBox… #70203
          Stephane Senecal
          Participant

            Now 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 2001

            in reply to: I would really like to see the TsPaintBox… #70200
            Stephane Senecal
            Participant

              My 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 2001

              in reply to: I would really like to see the TsPaintBox… #70160
              Stephane Senecal
              Participant

                TsPanel has an OnPaint event. You might wan’t to try that.

                Stephane Senecal
                CIS Group
                Delphi programmer since 2001

                in reply to: DPI Scaling DrawNonClientArea = False #70072
                Stephane Senecal
                Participant

                  Any idea when a new version will be released with this fix?

                  Stephane Senecal
                  CIS Group
                  Delphi programmer since 2001

                  in reply to: DPI Scaling DrawNonClientArea = False #70015
                  Stephane Senecal
                  Participant

                    This bug isn’t fixed in 16.10.

                    Do you need help to reproduce it?

                    Stephane Senecal
                    CIS Group
                    Delphi programmer since 2001

                    in reply to: Windows Standard Dialogs #69973
                    Stephane Senecal
                    Participant

                      It 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 2001

                      in reply to: TsComboBox dropdown list #69962
                      Stephane Senecal
                      Participant

                        I 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 2001

                        in reply to: TsComboBox dropdown list #69959
                        Stephane Senecal
                        Participant

                          What do you think about DropInplace?

                          Stephane Senecal
                          CIS Group
                          Delphi programmer since 2001

                          in reply to: AlphaSkins V15 support #69938
                          Stephane Senecal
                          Participant

                            At 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 2001

                            in reply to: AlphaSkins V15 support #69935
                            Stephane Senecal
                            Participant

                              Looks 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 2001

                              in reply to: AlphaSkins V15 support #69932
                              Stephane Senecal
                              Participant

                                You 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 2001

                                in reply to: Mouse over combobox fade out animation #69880
                                Stephane Senecal
                                Participant

                                  Have you been able to simulate?

                                  Stephane Senecal
                                  CIS Group
                                  Delphi programmer since 2001

                                  in reply to: Mouse over combobox fade out animation #69871
                                  Stephane Senecal
                                  Participant

                                    Delphi 7 and AS 15.22

                                    Stephane Senecal
                                    CIS Group
                                    Delphi programmer since 2001

                                    in reply to: Have a png image behave like a font image #69561
                                    Stephane Senecal
                                    Participant

                                      I 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 2001

                                      in reply to: Scaling of containers doesn’t work #69422
                                      Stephane Senecal
                                      Participant

                                        Out 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 2001

                                        in reply to: Scaling of containers doesn’t work #69409
                                        Stephane Senecal
                                        Participant

                                          From the icon of the form, it looks like Delphi 2007. I might be wrong.

                                          Stephane Senecal
                                          CIS Group
                                          Delphi programmer since 2001

                                          in reply to: AC15.13: TsMonthCalendar should have a function to reload #69344
                                          Stephane Senecal
                                          Participant

                                            You 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 2001

                                          Viewing 20 posts - 21 through 40 (of 197 total)