06-29-2013 07:54 AM
Hi every one
I am having two custom button field with different color of button called red and white.
And I want to add and delete both button at same place mutually.
I mean when I click on red button, red button has to be remove from screen and white button has to be appear,and the same when I click on white button it has to be remove and red button has to be appear. Both button has to be display at the same place.
Please any idea.....
Solved! Go to Solution.
06-29-2013 08:35 AM
06-29-2013 09:38 AM
06-29-2013 10:47 AM
In this case you might also consider the replace function that is available in later OS's.
The code would simply involve, finding the button that had been clicked, using getManager to find its Manager, then invoking replace on this Manager to replace the one button with the other one.
However in this case I suggest that you have a two color button, and have it change its color.