- This topic has 26 replies, 2 voices, and was last updated 4 years, 1 month ago by
Koushik Halder.
-
AuthorPosts
-
November 15, 2021 at 6:25 pm #70476
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?
November 18, 2021 at 6:19 am #70481Could 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).
November 18, 2021 at 5:25 pm #70483Please find the screenshot of taskbar just after running the application:
After a mouse click to anywhere the taskbar shows properly as follows:
-
This reply was modified 4 years, 3 months ago by
Koushik Halder.
Attachments:
You must be logged in to view attached files.November 18, 2021 at 5:35 pm #70488Hi! 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.
-
This reply was modified 4 years, 3 months ago by
Koushik Halder.
November 19, 2021 at 6:23 am #70491What if skins are disabled? Glyph in taskbar button is painted Ok in this case?
November 19, 2021 at 5:38 pm #70495No issue when skins are disabled.
November 21, 2021 at 11:07 am #70503Interesting. How this icon is loaded there?
November 21, 2021 at 6:33 pm #70506Please 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.November 24, 2021 at 4:33 pm #70528Thank you, but TsTitleBar component doesn’t exist in these projects.
Are you sure these files are correct?November 29, 2021 at 4:54 pm #70543No need of TsTitleBar. Just compile and see what I have mentioned.
December 4, 2021 at 6:31 am #70570Sorry, but after recompiling applications works well.
Can you upload your Exe also, please?December 4, 2021 at 10:36 am #70577Nothing 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.
December 5, 2021 at 6:04 am #70580My 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.December 5, 2021 at 7:03 am #70583It 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.
December 5, 2021 at 7:34 am #70584Can you show a screenshot, please?
Or video maybe?December 5, 2021 at 5:56 pm #70591Please find the attached video.
Attachments:
You must be logged in to view attached files.December 8, 2021 at 10:08 am #70604Thank 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.December 20, 2021 at 11:52 am #70641I have just checked in Version 16.20, the same problem still present.
December 22, 2021 at 7:07 pm #70652I will think more, hope to find a solution soon.
January 3, 2022 at 12:24 pm #70679Now I have found the problem.
IfsSkinManager1.AnimEffects.FormShow.Active := true;andsSkinManager1.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. -
This reply was modified 4 years, 3 months ago by
-
AuthorPosts
- The topic ‘Bug Report AlphaControls 16.16 in RAD Studio 10.4’ is closed to new replies.