Bug Report AlphaControls 16.16 in RAD Studio 10.4

Viewing 20 posts - 1 through 20 (of 26 total)
  • Author
    Posts
  • #70476
    Koushik Halder
    Participant

      Is there any code so that MAXIMIZE Button will be Shown as Disabled/Normal Button but application will not be maximized i.e. By Clicking on MAXIMIZE Button on application bar will not do anything?

      #70481
      Support
      Keymaster

        Could you show a screenshot of the TaskBar button? A Glyph just not visible there?

        The form will always react to clicking on Maximize button, but you can try to plat with the Form.Constraints property (limit max size).

        #70483
        Koushik Halder
        Participant

          Please find the screenshot of taskbar just after running the application:

          After a mouse click to anywhere the taskbar shows properly as follows:

          Attachments:
          You must be logged in to view attached files.
          #70488
          Koushik Halder
          Participant

            Hi! I have found another BUG as follows:
            If you use the following code :

            procedure TForm1.FormCreate(Sender: TObject);
            begin
              sTitleBar1.Items[0].AutoSize := false;
              sTitleBar1.Items[0].Caption := 'TacTitleBar1';
              sTitleBar1.Items[0].FontData.Font.Color := clYellow;
              sTitleBar1.Items[0].FontData.Font.Size := 10;
              sTitleBar1.Items[0].FontData.Font.Style := [fsBold];
              sTitleBar1.Items[0].FontData.UseSysColor := false;
              sTitleBar1.Items[0].FontData.UseSysFontName := false;
              sTitleBar1.Items[0].FontData.UseSysSize := false;
              sTitleBar1.Items[0].FontData.UseSysStyle := false;
              sTitleBar1.Items[0].Hint := 'TacTitleBar1';
              sTitleBar1.Items[0].ShowHint := true;
              sTitleBar1.Items[0].Spacing := 10;
              sTitleBar1.Items[0].Width := 150;
            end;

            Everything will execute but the following

              sTitleBar1.Items[0].FontData.Font.Size := 10;
              sTitleBar1.Items[0].FontData.Font.Style := [fsBold];

            will no execute. So to get TitleBar Font Size = 10 and Font Style = fsBold, you have to do in DFM File.

            #70491
            Support
            Keymaster

              What if skins are disabled? Glyph in taskbar button is painted Ok in this case?

              #70495
              Koushik Halder
              Participant

                No issue when skins are disabled.

                #70503
                Support
                Keymaster

                  Interesting. How this icon is loaded there?

                  #70506
                  Koushik Halder
                  Participant

                    Please compile both the PROJECTS in RAD Studio 10.4.2 and see the difference.
                    And also see TitleBar Font Size problem.

                    Attachments:
                    You must be logged in to view attached files.
                    #70528
                    Support
                    Keymaster

                      Thank you, but TsTitleBar component doesn’t exist in these projects.
                      Are you sure these files are correct?

                      #70543
                      Koushik Halder
                      Participant

                        No need of TsTitleBar. Just compile and see what I have mentioned.

                        #70570
                        Support
                        Keymaster

                          Sorry, but after recompiling applications works well.
                          Can you upload your Exe also, please?

                          #70577
                          Koushik Halder
                          Participant

                            Nothing is related to the EXE File. The same EXE File works perfectly in Windows 7 but behaves different in Windows 10 21H1. Please run the Compiled EXE in Windows 10 21H1 and see what I have mentioned.

                            #70580
                            Support
                            Keymaster

                              My Exe file is attached. After start under Win 10 the form is shown and app icon in taskbar is visible..
                              How it works in your Win 10 system?

                              Attachments:
                              You must be logged in to view attached files.
                              #70583
                              Koushik Halder
                              Participant

                                It behave likes what I have mentioned. No application Icon is shown in TaskBar under Windows 10 X64 OS unless and until Mouse Pointer is placed over Application Area or in TaskBar or any Mouse Click happen.

                                #70584
                                Support
                                Keymaster

                                  Can you show a screenshot, please?
                                  Or video maybe?

                                  #70591
                                  Koushik Halder
                                  Participant

                                    Please find the attached video.

                                    Attachments:
                                    You must be logged in to view attached files.
                                    #70604
                                    Support
                                    Keymaster

                                      Thank you, I see it in your video, but not on the my PC.
                                      I will add some changes in the new release and hope it helps.

                                      #70641
                                      Koushik Halder
                                      Participant

                                        I have just checked in Version 16.20, the same problem still present.

                                        #70652
                                        Support
                                        Keymaster

                                          I will think more, hope to find a solution soon.

                                          #70679
                                          Koushik Halder
                                          Participant

                                            Now I have found the problem.
                                            If sSkinManager1.AnimEffects.FormShow.Active := true; and sSkinManager1.AnimEffects.FormShow.Time := 170; then the application area in Windows Taskbar is painted two times and the change is visible. As a result no icon is shown.

                                            If sSkinManager1.AnimEffects.FormShow.Active := false; then the application area in Windows Taskbar is painted only one time. As a result icon is shown.

                                          Viewing 20 posts - 1 through 20 (of 26 total)
                                          • The topic ‘Bug Report AlphaControls 16.16 in RAD Studio 10.4’ is closed to new replies.