Home > Software engineering >  Through the focal place of the edit box to judge where the input is a button?
Through the focal place of the edit box to judge where the input is a button?

Time:09-27

Now there is a button button, two editbox! If you focus on the first editbox, I press the button will appear in 1, if the focus editbox2, I press the button will appear in editbox2 1.

I wonder how to use the pointer with getfocus how to write,

CodePudding user response:

Build two the rect, and then judge the position where a focus

CodePudding user response:

reference 1st floor chen_JADE response:
set up two the rect, and then judge the position where the focus of a

Do not understand, the rect function is to determine the coordinates of a rectangle, but it has

CodePudding user response:

refer to the second floor darmond1 response:
do not understand, the rect function is to determine the coordinates of a rectangle, but this is


Get the rect two editbox, then determine the focus
  • Related