×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    scrollbar in ListBox

    I create a Text List box (CEikTextListBox) on a view. I fill it with say 10 items. Ideally it should be showing a scroll bar, but for some reason it refuses to show a scroll bar.

    iList=new(ELeave) CEikTextListBox;
    iList->ConstructL(this, ELbmOwnsItemArray);

    // function to populate Listbox
    PopulateListBox();

    iList->SetExtent(TPoint(50, 50), TSize(200, 100));
    iList->CreateScrollBarFrameL(ETrue);
    iList->SetBorder(TGulBorder::EThickDeepRaisedWithOutline);
    iList->ScrollBarFrame()->SetScrollBarVisibilityL(CEikScrollBarFrame::EOff, CEikScrollBarFrame::EOn);

    iList->SetBorder(ETrue);
    iList->ActivateL();


    Does anyone know what I am missing?

    thanx,
    Brijesh

    Posted by brijesh Gajaria, brijesh@itfinity.com
    on January 17, 2002 at 13:34

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Posts
    2,426

    RE: scrollbar in ListBox

    Posted by Antti Juustila, antti.juustila@donian.fi
    on January 17, 2002 at 13:56



    Hi, have you tried calling UpdateScrollBarsL() finally?

    -- Antti

Posting Permissions

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