|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder Public Beta Tests » View Thread|
|Messages 1 to 3 of 3 total|
|renaming a button (or other object) causes event to fire at create time?|
|Wed, Mar 4 2020 2:44 PM||Permanent Link|
Windows 10 EWB 3.00 Build 1
I am having some strange event firing occurring if I rename a button (or other object).
This is a simple project (snippet) with a button and a label:
procedure TForm1.Button1Click(Sender: TObject);
label1.caption := label1.caption + ' X ';
This works fine.
If I rename the button to 'btnMain', it appears as if the 'onClick' event handler is assigned on all possible events of the button. This leads to multiple firing of events.. every possible event on that object is firing and calling that handler.
I tried this with a TPanel (instead of TButton), and it did the same thing.
Attached are two screenshots showing the IDE with the multiply assigned event.
(I called them 'recursive' because I thought they were.. but they might just be multiple/frequent)
Attachments: recursive event firing part B.PNG
|Wed, Mar 4 2020 4:10 PM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
Thanks, I'll take a look at this one along with the form renaming issue.
|Thu, Mar 5 2020 12:10 AM||Permanent Link|
I confirm this is fixed in build 3.. super!