Hey guys, newbie question...
I have created a simple form in the rss file and created a class that extends CAknForm and am now looking to launch it.
So in the Application Gui class (HandleCommandL()) I've included the following code that is executed given a certain option selection in the menubar.
however on compilation im told that the the "identifier r_SimpleEx_form cannot be found"Code:// my created form, ignore the parameters CMyForm* form = CMyForm::NewL(iAppView->iDisplayText,iAppView->iTextColor); // open form based on entry in resources file form->ExecuteLD(r_SimpleEx_form);
I tried to 'include' the rss file in this class but at compilation im told the file cannot be opened?
Below is the corresponding entry in the rss file which compiles file, (I've exluded some of the things this points to for clarity)
Any ideas why I can't refer to the above resources entry? Should the rss file be an include? if so any ideas why it can't be opened?Code:RESOURCE FORM r_SimpleEx_form { flags = EEikFormEditModeOnly | EEikFormUseDoubleSpacedFormat; items = { DLG_LINE { type=EEikCtEdwin; prompt="Text"; id=ESimpleExText; control=EDWIN{width=10;maxlength=256;}; }, DLG_LINE { type=EAknCtPopupFieldText; prompt="Color"; id=ESimpleExPopup; //itemflags = EikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; control = POPUP_FIELD_TEXT { popupfield = POPUP_FIELD { width = 10; }; textarray=r_color_list; }; } }; }



