Stephane Senecal

Forum Replies Created

Viewing 20 posts - 161 through 180 (of 197 total)
  • Author
    Posts
  • in reply to: TsComboBox DPI scaling #56926
    Stephane Senecal
    Participant

      It wasn't easy but I managed to reproduce it in a small project.

      Edit: I forgot to say that I managed to fix my problem by calling UpdateScale right after the creation of the frame.

      Edit2: You might notice another problem in the demo with the title icon being cropped in high dpi.

      Stephane Senecal
      CIS Group
      Delphi programmer since 2001

      in reply to: TsComboBox DPI scaling #56923
      Stephane Senecal
      Participant

        I can't add a TsSkinProvider on a TFrame. They do already have a TsFrameAdapter.

        Those frames are created at run-time.

        The main form on which they stand does have a TsSkinProvider, but I supose it doesn't work because they are created on the fly.

        Any advice?

        Stephane Senecal
        CIS Group
        Delphi programmer since 2001

        in reply to: Access violation using TsAlphaImageList #56918
        Stephane Senecal
        Participant

          I think it was a typo. I'm quite sure he meant 12.13 since that's the number of the next version.

          Stephane Senecal
          CIS Group
          Delphi programmer since 2001

          Stephane Senecal
          Participant

            Here it is.

            Click on “Show Modal Form” and after that click on the “Main Form” while the modal form is opened.

            The modal form should fall behind the main form which is not suposed to do.

            Stephane Senecal
            CIS Group
            Delphi programmer since 2001

            Stephane Senecal
            Participant

              Add TRButton to the TsSkinManager.ThirdParty property

              Stephane Senecal
              CIS Group
              Delphi programmer since 2001

              in reply to: TsComboBox created at runtime #56729
              Stephane Senecal
              Participant

                I Tried 12.10 this morning and it doesn't seems to be affected by this bug.

                Thank you.

                Stephane Senecal
                CIS Group
                Delphi programmer since 2001

                in reply to: Round button #56638
                Stephane Senecal
                Participant

                  Sorry for the delay, I was busy.

                  Your sample project exibit the same problem I was talking about.

                  It is not so obvious, but in the attachment we can see, highlighted in green, the corresponding lines from top and right lines (this is good).

                  But the line, hightlighted in red, is missing from the top (and left) of the button.

                  Stephane Senecal
                  CIS Group
                  Delphi programmer since 2001

                  in reply to: Round button #56603
                  Stephane Senecal
                  Participant

                    I see in your demo that your button has a border of only 1 pixel.

                    As stated at the begining of this thread, the problem only appears for border width of even numbers like 2, 4, 6 and so on.

                    In my screenshot, which was taken from your program ASkinDemo, the border width is set at 2 pixels.

                    Stephane Senecal
                    CIS Group
                    Delphi programmer since 2001

                    in reply to: Round button #56599
                    Stephane Senecal
                    Participant

                      Hope is clear enough.

                      Stephane Senecal
                      CIS Group
                      Delphi programmer since 2001

                      in reply to: TsLabel Text color not updating with skins #56598
                      Stephane Senecal
                      Participant

                        I don't know if it is related, but I have a similar problem. I use the SkinSection of the TsLabel to display it as a STATUSBAR, but since 12.06 it does not follow the color of that section in the skin.

                        Stephane Senecal
                        CIS Group
                        Delphi programmer since 2001

                        in reply to: How to keep the speedbutton font color #56585
                        Stephane Senecal
                        Participant

                          First you will need to use a TsSpeedButton, not the standard TSpeedButton.

                          In the properties of the sSpeedButton there is a SkinData property.

                          Expand it and you'll see the property CustomColor.

                          Switch it to True and now the button will use the color from SpeedButton.Font.Color instead of the skin color.

                          Stephane Senecal
                          CIS Group
                          Delphi programmer since 2001

                          in reply to: Round button #56579
                          Stephane Senecal
                          Participant

                            Funny, now it's the top and left sides that are cropped. (v12.07)

                            Stephane Senecal
                            CIS Group
                            Delphi programmer since 2001

                            in reply to: Icon in TsFilenameEdit unclear #56393
                            Stephane Senecal
                            Participant

                              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.

                              Stephane Senecal
                              CIS Group
                              Delphi programmer since 2001

                              in reply to: TsMonthCalendar #56401
                              Stephane Senecal
                              Participant

                                Yup, it works now.

                                Thank you.

                                Stephane Senecal
                                CIS Group
                                Delphi programmer since 2001

                                in reply to: TsMonthCalendar #56384
                                Stephane Senecal
                                Participant

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

                                  Stephane Senecal
                                  Participant

                                    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 2001

                                    in reply to: Grid lines too pronounced in dark skins #56286
                                    Stephane Senecal
                                    Participant

                                      By “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 2001

                                      in reply to: Grid lines too pronounced in dark skins #56266
                                      Stephane Senecal
                                      Participant

                                        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.

                                        Stephane Senecal
                                        CIS Group
                                        Delphi programmer since 2001

                                        in reply to: Grid lines too pronounced in dark skins #56263
                                        Stephane Senecal
                                        Participant

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

                                          in reply to: Titlebar Height – Normal vs Maximized #56262
                                          Stephane Senecal
                                          Participant

                                            Ok thanks.

                                            How can I specify different buttons (min, max, close) for the two different title heights?

                                            Stephane Senecal
                                            CIS Group
                                            Delphi programmer since 2001

                                          Viewing 20 posts - 161 through 180 (of 197 total)