Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User pemag's Avatar
    Join Date
    Mar 2003
    Posts
    15
    Hi I have a problem that I haven't managed to sort out even though I've put alot of effort into it. I have a listbox with items, when I dubbleclick one of the items i display a dialog with more detailied information that was in the listbox. The problem is that the listbox, or actually the background view interfere with the displayed dialog so that everything gets blurred. When I open an empty dialog without setting any text to any of the controls everything works fine, but I i try to set text to one of the controls the problem appears.

    Can somebody please help me with this?

    Below is a part of the code for displayine the text in the dialog.

    void CExpenceForm::ConstructL(CBTPointToPointContainer& aContainer)
    {
    iNewCreated = EFalse;
    iContainer = &aContainer;
    CAknForm::ConstructL(R_MENU_BAR_EXPENCEFORM);
    CAknForm::ExecuteLD( R_EXPENCE_FORM_DIALOG );
    }

    void CExpenceForm::SetValues(CExpence& aCurrentExpence)
    {
    iCurrentExpence = &aCurrentExpence;
    if (ControlOrNull(EExpenceFormControl1))
    {
    SetEdwinTextL(EExpenceFormControl1, &iCurrentExpence->DateTime());
    }
    if (ControlOrNull(EExpenceFormControl2))
    {
    SetEdwinTextL(EExpenceFormControl2, &iCurrentExpence->Id());
    }
    if (ControlOrNull(EExpenceFormControl3))
    {
    SetEdwinTextL(EExpenceFormControl3, &iCurrentExpence->Type());
    }
    if (ControlOrNull(EExpenceFormControl4))
    {
    SetNumberEditorValue(EExpenceFormControl4, iCurrentExpence->Cost());
    }
    }
    /Per

  2. #2
    Registered User pemag's Avatar
    Join Date
    Mar 2003
    Posts
    15
    The solution was very,very,very easy. I just inserted a DrawNow() as the last row in the SetValues function. Somtime one is not the world's brigthest ;)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved