hi there,

I've got a Label in my simple UI application, when I call SetTextL of the Label at run time, nothing changes!!
here you are my code :

Code:
void CTestUIContainer::setStatus(const TDesC& value){
	iLabel1->SetTextL(value);
}
And I call the above method from the CtestUIContainerView::HandleCommandL when a menu get selected as code below :

Code:
iTestUIContainer->setStatus(_L("Waiting..."));
by the way when I put the changing label code at the following method which runs at the initiate loading, it works:


Code:
void CTestUIContainer::LayoutControls()
	{
	iLabel1->SetExtent( TPoint( 0, 2 ), TSize( 235, 119 ) );
	iLabel1->SetTextL(_L("Started..."));
	}

does anyone know what is wrong with my code? :(