×

Discussion Board

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

    Arrow Switching between views( Going from home page to login page)

    Hi all,
    I am a newbie to Symbian C++.
    I created an application using GUI designer.
    I created a list with options such as Login.
    on clicking the "Login" listitem ,i want a page asking user to enter a userid and password to be shown whic is also created using GUI designer.
    I need help in handling the ItemCLick event to go to the Form page.

  2. #2
    Regular Contributor
    Join Date
    Jun 2003
    Location
    Jakarta, Indonesia
    Posts
    164

    Re: Switching between views( Going from home page to login page)

    Hi, just go to your AppUi and handle a command on HandleCommandL() method. To switch beetween view, you can use ActivateLocalViewL.
    So the code will be like this :

    void CMyAppUi::HandleCommandL( TInt aCommand )
    {
    switch(aCommand)
    {
    case EMyAppCmdLogin :
    {
    ActivateLocalViewL(iLoginView->Id());
    break;
    }
    }
    }


    Regards,



    Herwin

Similar Threads

  1. Problem switching views
    By doesitmatter in forum Symbian
    Replies: 2
    Last Post: 2008-01-16, 18:31
  2. Switching views
    By _fox in forum Symbian
    Replies: 6
    Last Post: 2006-09-26, 16:45
  3. Switching views with "memory" (S60 3rd)
    By uttumuttu in forum Symbian User Interface
    Replies: 0
    Last Post: 2006-07-20, 15:55
  4. Switching Views
    By oiram1 in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-07-14, 10:52
  5. Switching views on a Dialog-based Views App
    By net314 in forum Symbian User Interface
    Replies: 4
    Last Post: 2003-08-26, 21:05

Posting Permissions

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