How to dynamicall change cba button in container
I need to change cba button dynamically in a container, I am using the following code to change it dynamicall but it is not working, can any one help me how to get it worked?
CEikButtonGroupContainer *iCba ;
iCba = CEikButtonGroupContainer::Current();
I have placed the code I am using in a small function. Hope it will help you. I have placed the function in my view instead of the container.
void CVykortView2::ChangeCbaL(TBool state)
CEikButtonGroupContainer* cba= CEikButtonGroupContainer::Current();
else if (!state)
SetCommandL works only once?
Hi Kummel thanks for the reply,
I am facing a problem by using it,
I am activating the view more than once based on different conditions, first time SetCommandL() is working fine, but when I try to activate the view again, the previous cba button is not changing, i.e., SetCommandL() is not working..
Can you help me how to overcome this problem?