Home › Forums › Konopka Signature VCL Controls (formerly Raize Components) › TRzButtonEdit 8.0.1 Causes Error in Delphi 13.
- This topic has 12 replies, 5 voices, and was last updated 2026-04-01 at 6:46 pm by
Steve Gill.
-
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
-
March 11, 2026 at 12:31 pm #4432
Hi Ray,
Will this fix, and any others, be in a 8.0.2 for Delphi 13.1??
-
March 17, 2026 at 12:30 am #4434
Hi Ray,
I’ve just circled back to this after finishing other projects I was working on.
I don’t seem to have RzBtnEdt.pas, or any other source code files for KSVC 8.0.1.
= Steve
-
March 17, 2026 at 12:36 am #4435
Never mind – I found it. For some reason Agent Ransack couldn’t find it, but I found it manually.
-
March 17, 2026 at 1:06 am #4436
Hmm, I tried the fix but I’m still getting the error. Has anyone else has any success with the fix?
= Steve
-
April 1, 2026 at 5:41 pm #4439
The issue should be fixed in 8.0.2
-
April 1, 2026 at 6:46 pm #4441
Thanks Ray!
= Steve
-
-
-
AuthorPosts
- You must be logged in to reply to this topic.