×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2003
    Posts
    77

    no scrollbar/slider in Listbox

    Actually I'm using a Listbox with a variable number of items. Neither on my S60 3rd mobile (6120c) nor in the Emulator (S60 3rd FP1) a scrollbar/slider is shown on the right hand margin of the screen when more items are in the Listbox than fit in the screen. This makes it unpossible to see if there might be more items 'out of sight' other than by 'test scrolling'.

    Is this a general behaviour of the Listbox or do I observe this by chance?

    TIA Martin

  2. #2
    Super Contributor
    Join Date
    May 2006
    Location
    Oulu, Finland
    Posts
    622

    Re: no scrollbar/slider in Listbox

    Hi dehlerm!

    This is a normal behavior. I've tried to implement it in C++ without real success. So I think we just have to be patient for now and hope that the feature will come in some future releases.

    LFD
    Devices:
    Nokia E61 3rd Edition - pys60 1.4.0

    Tips and modules:
    http://www.lfdm.net/thesis

  3. #3
    Regular Contributor
    Join Date
    Jul 2008
    Posts
    416

    Re: no scrollbar/slider in Listbox

    There is still missing slider in the CAknDoubleStyleListBox(SDK 9.2). The slider is visible in the Application Editor, but not in the application running in the device. Does anybody know about a wiki or workaround for this?

    UPDATE: Well I did not use correct term. I meant he scroll bar. Here is the solution for the container's ConstructL().

    Code:
       InitializeControlsL();
        iListBox->SetMopParent(this);
        iListBox->CreateScrollBarFrameL(ETrue);
        iListBox->ScrollBarFrame()->SetTypeOfVScrollBar(CEikScrollBarFrame::ENormalScrollBar );
        iListBox->ScrollBarFrame()->SetScrollBarVisibilityL(CEikScrollBarFrame::EOff, CEikScrollBarFrame::EAuto);
    
        SetRect( aRect );
        ActivateL();
    Last edited by elviin; 2009-06-23 at 16:50.

Similar Threads

  1. Full screen listbox skin not rendered correctly
    By template60 in forum Symbian
    Replies: 2
    Last Post: 2007-09-11, 04:34
  2. ListBox Errors
    By javadi82 in forum Symbian User Interface
    Replies: 7
    Last Post: 2006-11-08, 13:29
  3. Using a "custom" listbox in mobile s60
    By ctpthanh in forum Symbian User Interface
    Replies: 4
    Last Post: 2005-04-17, 14:46
  4. Hide Listbox not working with MakeVisible(EFalse)
    By Salvesh in forum Symbian User Interface
    Replies: 3
    Last Post: 2005-02-04, 05:04
  5. listbox and model
    By stenlik in forum Symbian
    Replies: 1
    Last Post: 2004-05-27, 07:27

Posting Permissions

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