×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    20

    Soft keys doest work?? Form

    hi there,
    i m using forms to take user input. when the form is loaded, softkeys does not work unless user enter the values in the form. i want to load the form with the softkeys working even with empty fields
    any suggestion/Help plz


    Form Resource Code:
    Code:
    RESOURCE DIALOG r_bmiform_form_dialog
    	{
    	flags = EEikDialogFlagNoDrag | 
    			EEikDialogFlagFillAppClientRect |
    			EEikDialogFlagNoTitleBar |
    			EEikDialogFlagWait |
    			EEikDialogFlagCbaButtons;
    	buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    	form = r_bmiform_form;
    	}
    
    
    RESOURCE FORM r_bmiform_form
    	{
    	flags =  EEikFormUseDoubleSpacedFormat | EEikFormEditModeOnly ;
    	items =
    		{
    		
    		DLG_LINE
    			{
    			type=EEikCtFlPtEd;
    			prompt= qtn_WEIGHT_TEXT;
    			id=EBmiFormDlgCIdEdwin;
    			control=FLPTED
    				{
    				min = 1;
    				max = 100000;
    				default = 0;
    				};
    			},
    		DLG_LINE
    			{
    			type=EEikCtFlPtEd;
    			prompt= qtn_HEIGHT_TEXT;
    			id=EBmiFormDlgCIdEdwin1;
    			control=FLPTED 
    				{
    				min = 1;
    				max = 100000;
    				default = 0;
    				};
    			}
    		};
    	}
    Secondly, when user clicks on the back button (when values have been entered), it prompts to "SAVE" note which i want to disable.. how can i do?
    plz help

  2. #2
    Registered User
    Join Date
    Aug 2009
    Posts
    38

    Re: Soft keys doest work?? Form

    Quote Originally Posted by xahid2k View Post
    hi there,
    i m using forms to take user input. when the form is loaded, softkeys does not work unless user enter the values in the form. i want to load the form with the softkeys working even with empty fields
    any suggestion/Help plz


    Form Resource Code:
    Code:
    RESOURCE DIALOG r_bmiform_form_dialog
    	{
    	flags = EEikDialogFlagNoDrag | 
    			EEikDialogFlagFillAppClientRect |
    			EEikDialogFlagNoTitleBar |
    			EEikDialogFlagWait |
    			EEikDialogFlagCbaButtons;
    	buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    	form = r_bmiform_form;
    	}
    
    
    RESOURCE FORM r_bmiform_form
    	{
    	flags =  EEikFormUseDoubleSpacedFormat | EEikFormEditModeOnly ;
    	items =
    		{
    		
    		DLG_LINE
    			{
    			type=EEikCtFlPtEd;
    			prompt= qtn_WEIGHT_TEXT;
    			id=EBmiFormDlgCIdEdwin;
    			control=FLPTED
    				{
    				min = 1;
    				max = 100000;
    				default = 0;
    				};
    			},
    		DLG_LINE
    			{
    			type=EEikCtFlPtEd;
    			prompt= qtn_HEIGHT_TEXT;
    			id=EBmiFormDlgCIdEdwin1;
    			control=FLPTED 
    				{
    				min = 1;
    				max = 100000;
    				default = 0;
    				};
    			}
    		};
    	}
    Secondly, when user clicks on the back button (when values have been entered), it prompts to "SAVE" note which i want to disable.. how can i do?
    plz help

    hi for that you just see the example in 9.3 sdk name of the project is registration its give you correct idea about this i hope it will help u have a nice day...................................
    M.Narendra
    narendra.ajel@gmail.com

Similar Threads

  1. 3 soft keys in series 40
    By jukkajii in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2004-03-30, 16:51
  2. Why does't ShapShot work?
    By yakshtes in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2003-06-10, 12:28
  3. why the application development kit does't work?
    By Nokia_M2M in forum Nokia M2M
    Replies: 1
    Last Post: 2002-12-26, 04:52
  4. Replies: 0
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •