F fishwolf Well-Known Member Licensed User Longtime User May 30, 2015 #1 If i draw the graphics interface to runtime, for example a button and define the instance of button into a function or method. can i find the instance of button into activity into other function or method? Thanks
If i draw the graphics interface to runtime, for example a button and define the instance of button into a function or method. can i find the instance of button into activity into other function or method? Thanks
DonManfred Expert Licensed User Longtime User May 30, 2015 #2 You must be much more precise with your description of your problem. Put the button reference into a map for example after you created it... Upvote 0
You must be much more precise with your description of your problem. Put the button reference into a map for example after you created it...
RandomCoder Well-Known Member Licensed User Longtime User May 30, 2015 #3 Another option is to use the Tag to store a string or integer value to identify the view by. You can itterate through all the views to find the one you want or use Sender to take a reference to a view that has been clicked for example. Upvote 0
Another option is to use the Tag to store a string or integer value to identify the view by. You can itterate through all the views to find the one you want or use Sender to take a reference to a view that has been clicked for example.
DonManfred Expert Licensed User Longtime User May 30, 2015 #4 Maybe you can find some inspiration in my answer to the quiz #10. Upvote 0