void CWebForm::PostLayoutDynInitL() { CAknForm::PostLayoutDynInitL(); // To Following line change the edit mode SetEditableL(ETrue); // The following line set to change status // This avoid back set form View status in the beginning // Usually without change back do that, like when we start an empty Form. SetChangesPending(ETrue); TInt list_count=2; TInt lists[]={ CL_WEB_FROM_LIST_ID, CL_WEB_TO_LIST_ID }; for (int list=0; list<list_count; list++) { CSavedPoints::TEndPoint p=(CSavedPoints::TEndPoint)list; const CDesCArray& texts=iPoints->Points(p); if (texts.Count()>0) { CAknPopupFieldText* f=(CAknPopupFieldText*)Control(lists[list]); CDesCArray* contents=f->iArray; contents->Delete(0); for (int t=0; t<texts.Count(); t++) { contents->AppendL(texts[t]); } f->SetCurrentValueIndex(0); iSaved[list]=true; } } }
void CNickForm::PostLayoutDynInitL() { CALLSTACKITEM(_L("CNickForm::PostLayoutDynInitL")); CEikEdwin* f=(CEikEdwin*)Control(2); f->SetTextL(&iNick); CEikEdwin* l=(CEikEdwin*)Control(1); l->SetTextL(&(*iTitle)); CAknForm::PostLayoutDynInitL(); // To Following line change the edit mode SetEditableL(ETrue); // The following line set to change status // This avoid back set form View status in the beginning // Usually without change back do that, like when we start an empty Form. SetChangesPending(ETrue); }
void CEmTubeVideoUploadDialog::PreLayoutDynInitL() { SetEditableL(ETrue); }
// ----------------------------------------------------------------------------- // CLandmarksEditDialog::PreLayoutDynInitL // // (other items were commented in a header). // ----------------------------------------------------------------------------- // void CLandmarksEditDialog::PreLayoutDynInitL() { SetEditableL(ETrue); ConfigureFieldsL(); ConfigureCategoryFieldL(); }