Hello!
I'm creating a custom view with a couple of textfields and a couple of imageviews in it. I need to make it as a custom view since there will be several of these views on each of the different forms on this project. There will only be one textfield visible at any time and it may switch from one to the other at any moment when one of the imageviews gets clicked. Both textfields are editable and their content is somewhat linked between them. In any case, I need to know when the focus is on this custom view as well as when the custom view has lost the focus to be able to trigger a "focus event". Is there any way to get the focus state based on the "mBase" pane that holds the custom view? I'm quite lost here and have been trying to find a solution on the past couple of days without any success. I've also been searching for a similar solution (for example an unmaskable password field wich is the solution that most resembles what I'm trying to do) on the forum from where I could learn how to achieve this without any success at all. Any pointer in the right direction will be very much appreciated.
Thanks in advance for your feedback.
Best regards to all.
I'm creating a custom view with a couple of textfields and a couple of imageviews in it. I need to make it as a custom view since there will be several of these views on each of the different forms on this project. There will only be one textfield visible at any time and it may switch from one to the other at any moment when one of the imageviews gets clicked. Both textfields are editable and their content is somewhat linked between them. In any case, I need to know when the focus is on this custom view as well as when the custom view has lost the focus to be able to trigger a "focus event". Is there any way to get the focus state based on the "mBase" pane that holds the custom view? I'm quite lost here and have been trying to find a solution on the past couple of days without any success. I've also been searching for a similar solution (for example an unmaskable password field wich is the solution that most resembles what I'm trying to do) on the forum from where I could learn how to achieve this without any success at all. Any pointer in the right direction will be very much appreciated.
Thanks in advance for your feedback.
Best regards to all.