Home › Forums › Konopka Signature VCL Controls (formerly Raize Components) › TRzButtonEdit 8.0.1 Causes Error in Delphi 13.
- This topic has 6 replies, 4 voices, and was last updated 2026-01-24 at 1:00 am by
Ray Konopka.
-
AuthorPosts
-
-
January 15, 2026 at 10:13 pm #4403
Hi Ray,
When I drop a TRzButtonEdit on a form in Delphi 13, I get an error. I couldn’t attach a screenshot because your attachment requirements are too restrictive – the file is only 86KB and yet the forum still wouldn’t let me attached it.
So far this has only happened with that control, although I’ve only tried a couple of others, ie. TRzLabel and TRzEdit.
= Steve
-
January 16, 2026 at 9:10 am #4404
Yes, I see that too: ‘TRzButtonEdit has no parent window…’
Andrew
-
January 16, 2026 at 2:36 pm #4405
I get that error too.
-
January 17, 2026 at 9:44 am #4406
Hi All,
I am able to duplicate the issue. Researching the issue now and will provide a fix to Embarcadero and/or a workaround as quickly as possible. I’ll keep this group posted.Ray
-
January 17, 2026 at 1:22 pm #4407
Hi,
Very interesting bug. One little change from referencing Width to ClientWidth caused the issue. I have fixed the issue and submitted to Embarcadero. In the meantime before they can make a new version available, you can fix the issue by making the following two changes and then using the !Build_KSVC.cmd file (in the Source directory) to rebuild the components.In RzBtnEdt.pas, update the beginning of TRzCustomButtonEdit.ResizeButtons to add the call to HandleAllocated:
procedure TRzCustomButtonEdit.ResizeButtons; var W, MinHeight: Integer; begin if HandleAllocated and not ( csLoading in ComponentState ) then beginIn the RzDbBnEd.pas, make the same edit to TRzDBCustomButtonEdit.ResizeButtons:
procedure TRzDBButtonEdit.ResizeButtons; var W, MinHeight: Integer; begin if HandleAllocated and not ( csLoading in ComponentState ) then beginAfter making the changes, run the !Build_KSVC.cmd file and follow the instructions for rebuilding the runtime and design packages.
Ray
-
January 18, 2026 at 9:58 am #4408
Is the problem just with the packages? I.e., if I’ve been using the component in my apps (no packages), are they OK? A quick test seems to indicate they are OK.
-
January 24, 2026 at 1:00 am #4409
Hi David,
The issue is with the component itself and a change that was made in 8.0.1. I was able to duplicate the issue by dynamically creating the TRzButtonEdit. I’m kind of surprised there were not more reports of this problem, but if you are using 8.0.1 and not having an issue, there may be something else in play. In tracing through the code, the change from calling Width to ClientWidth resulted in low level VCL code being called that required a Window Handle to be allocated.Ray
-
-
AuthorPosts
- You must be logged in to reply to this topic.