API published in: S60 1st Ed
Link against: avkon.lib
Required Capabilities
None
#include <aknform.h>
Inherits CAknDialog.
Inherited by CPbkContactEditorDlg.
The item layout and functionality can differ between the two states. In the view state, the fields are not editable. It looks and acts like a listbox. The listbox focus can be moved and items can be selected.
Public Member Functions |
|
IMPORT_C | CAknForm () |
Base class default constructor. |
|
IMPORT_C void | ConstructL (TInt aMenuBarId=0) |
Perform the second phase construction of a object. |
|
IMPORT_C | ~CAknForm () |
Destructor. |
|
virtual IMPORT_C void | DynInitMenuPaneL (TInt aResourceId, CEikMenuPane *aMenuPane) |
Function from MEikMenuObserver . |
|
virtual IMPORT_C void | ProcessCommandL (TInt aCommandId) |
Function from MEikCommandObserver . |
|
IMPORT_C void | HandleResourceChange (TInt aType) |
Function from CCoeControl handles a change to the control's resources of type aType which are shared across the environment, e.g. |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
From CCoeControl. |
|
Protected Types |
|
enum | TFlags { EDeleting = 0x1, EUnsavedEdit = 0x2 } |
Protected Member Functions |
|
virtual IMPORT_C TBool | OkToExitL (TInt aButtonId) |
Function from CEikDialog . |
|
virtual IMPORT_C void | PrepareForFocusTransitionL () |
Function from CEikDialog and thence from [email protected] MEikDialogPageObserver. |
|
virtual IMPORT_C TBool | SaveFormDataL () |
This routine should be re-implemented by the client to save the contents of the form. |
|
virtual IMPORT_C void | DoNotSaveFormDataL () |
This routine should be implemented by the client for dealing with the occasion of a change from edit->view mode but the user
does not wish to save the changes. |
|
virtual IMPORT_C TBool | QuerySaveChangesL () |
This routine may be overridden. |
|
virtual IMPORT_C void | EditCurrentLabelL () |
This routine may be overridden. |
|
virtual IMPORT_C void | DeleteCurrentItemL () |
This routine may be overridden. |
|
virtual IMPORT_C void | AddItemL () |
This routine may be overridden. |
|
IMPORT_C void | SetChangesPending (TBool aChangesPending) |
Sets changes pending. |
|
IMPORT_C void | PostLayoutDynInitL () |
Function from CEikdialog . |
|
IMPORT_C void | HandleControlStateChangeL (TInt aControlId) |
Overridden, so that the form can tell if a line's state has changed. |
|
IMPORT_C void | SetInitialCurrentLine () |
This is added, so that anyone adding lines either in PreLayoutDynInit() or SetInitialCurrentLine() should have the lines in a consistent state. |
|
IMPORT_C TBool | UnsavedEdit () const |
Required by OkToExit() . |
|
IMPORT_C TBool | Deleting () const |
Required by PrepareForFocusTransitionL() . |
|
IMPORT_C void | SetFormFlag (TFlags aFlagPattern, TBool aSetTheFlag) |
Set the form flag indicated. |
|
|
Base class default constructor. |
|
Destructor. |
|
This routine may be overridden. Implementation is missing in this class. |
|
Perform the second phase construction of a object. If a leave occurs the framework generates a Symbian Leave code.
Reimplemented from CAknDialog. |
|
This routine may be overridden. Default displays "Delete item? Yes/No" Deletes item on return from the dialog before returning. If a leave occurs the framework generates a Symbian Leave code. |
|
Required by
|
|
This routine should be implemented by the client for dealing with the occasion of a change from edit->view mode but the user does not wish to save the changes. A typical implementation would set the controls back to their old values. If a leave occurs the framework generates a Symbian Leave code. |
|
Function from The framework calls this function. It removes the unused default form options. If a leave occurs the framework generates a Symbian Leave code.
Reimplemented from CAknDialog. |
|
This routine may be overridden. Default displays old label as caption and editor for new one. Uses customised dialog.If a leave occurs the framework generates a Symbian Leave code. |
|
Overridden, so that the form can tell if a line's state has changed. This is used to decide when to save changes. If a leave occurs the framework generates a Symbian Leave code.
Reimplemented from CEikDialog. |
|
From CCoeControl. Handles pointer events
Reimplemented from CAknDialog. |
|
Function from colors or fonts.
Reimplemented from CEikDialog. |
|
Function from Called by framework when the softkey is pressed. Use this to pop up the options menu or close the dialog. Will call [email protected] SaveFormDataL() before closing if data has been edited. Will NOT permit exit if attempt to save data fails. If a leave occurs the framework generates a Symbian Leave code.
Reimplemented from CAknDialog. |
|
Function from
This function is called by the EIKON dialog framework just before the dialog is activated, after it has called Reimplemented from CEikDialog. |
|
Function from This funtion should be implemented to prepare for focus transition from the current line. If deleting then this routine must not do anything (the default tries to access the control which has just been deleted). If a leave occurs the framework generates a Symbian Leave code. Reimplemented from CEikDialog. |
|
Function from Handle user menu commands. If a leave occurs the framework generates a Symbian Leave code.
Reimplemented from CAknDialog. |
|
This routine may be overridden.
Default displays 'Save Changes Dialog Yes/No'. Data validation may occur here as an alternative to overriding
|
|
This routine should be re-implemented by the client to save the contents of the form.
The re-implementation can call this function to display the 'Saved' dialog
|
|
Sets changes pending.
|
|
Set the form flag indicated.
|
|
This is added, so that anyone adding lines either in Reimplemented from CEikDialog. |
|
Required by
|