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