×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Oct 2004
    Location
    India
    Posts
    50

    Is it possible passing data one view to another view?

    Hi , I want to transfer data from view1 to view2 .How ist it possible. I know how one view is activate from another view .


    But i am try to content of view2 ( which view i going to activate) change depend upon content of view1( from which view i activate view2)

    Look my point :

    Let in view1
    iLabelview1->SetTextL(_L("Text1"));

    After that i activate view2

    Then i want to set the iLabelView2 text as it in iLabelview1.

    and so on.


    How it possible.

    If possible . Plz advice me.


    Thanks & Regards.

    Debasish

  2. #2
    Regular Contributor
    Join Date
    Feb 2005
    Posts
    328
    Hi

    In the view architecture, each view is created by the AppUi class (usually in its ContructL). These view objects remain for the duration of the app lifetime. A given view creates a container control when its active and destroys it when made inactive.

    So, to share data from one view to another, simply place the data either in the AppUi class and provide a means to get at it OR place the data in the associated view and provide other views with a way to get at it.

    Hope this helps....

  3. #3
    Regular Contributor
    Join Date
    Oct 2004
    Location
    India
    Posts
    50
    Hi !

    Thanks for help.

    Now i sloved my problem.

    Thanks

Posting Permissions

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