Jump to content
Fudley

Any *new* controls added, events do not trigger

Recommended Posts

This just started happening, and I can't figure out what changed.

 

All existing controls on the form respond to OnTap events as usual.

 

If I add a new control to the form, such as a button or label, its OnTap event does not fire.

 

For instance, if I drop a button (Button9) on the form, and assign its OnTap event as follows, nothing happens when I tap it.

 

procedure TFudleyMain.Button9Tap(Sender: TObject; const Point: TPointF);
begin
  showmessage('HERE');
end;

 

Anyone ever experience this?

Share this post


Link to post

Sorry - Delphi 12, Windows 11.

 

However my test phone did upgrade to Android 15 today...

Share this post


Link to post

Well I tried on Android 12 and 14 - same problem. Scratching head...

Share this post


Link to post

I had to revert back to an earlier version and manually redo the changes one by one since then. I still don't know how or why it happened.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×