Jump to content

How to get clicked area or object ?


mikromundo

Recommended Posts

@Sherzod

Could you help me create an ExtJS script for this?

I have several objects on the form and I want to identify if the user just clicked inside the shape area of a specific object (blue block) to call an "ajax".

Inside the blue block (eg panel1) there will be other containers as well as outside of it as well. In FMX, there is a resource that we can prevent the green blocks from being clicked and yes, only the blue block.

I've tried a conventional JS script but to no avail.

 

image.png.7eba23a19a00022bc094a7b2fc545419.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...