Discussion Board

Results 1 to 6 of 6
  1. #1
    初次载入时很正常,滚动后出现挡住现象





    cool_li
    Last edited by cool_li; 2005-10-09 at 12:59.

  2. #2
    标题上问得Findbox,怎么正文里面说滚动后挡住?
    麻烦描述的详细一点~

  3. #3
    就是这样的,第一次载入 ok 我想是 findbox 当时在listbox 的上面
    当你滚动时,如果记录草果5条,就会出现listbox 把findbox挡住的问题



    cool_li
    Last edited by cool_li; 2005-10-09 at 13:00.

  4. #4
    findbox出现时,输入焦点在findbox中,最好不要响应滚动,等待用户退出findbox后再处理listbox的按键事件。

    BestRegards
    hoolee

  5. #5
    我想是你的listbox没有根据findbox调整大小所至。
    可以用下面的代码来调整大小,iListBox 和 iFindBox分别是list和find
    这个函数可以建立find后 和SizeChanged里面调用,希望能解决你的问题

    Code:
    void XXXX::SizeChangedForFindBox()
    {
        if ( iListBox && iFindBox )
        {
            // Initialize of resource ID for layout of findbox(These initial
            // values are layout for fixed findbox).
            TInt findWindowResourceId( R_AVKON_FIND_PANE );
            TInt listAreaResourceId( R_AVKON_LIST_GEN_PANE_X );
            TInt findWindowParentId( R_AVKON_MAIN_PANE_PARENT_NONE );
            TBool flagsOfPopup( EFalse ); // Flag for find popup.
    
            // Calls HandleFindSizeChanged after creates findbox.
            AknFind::HandleFindSizeChanged(
                this, iListBox, iFindBox, flagsOfPopup, findWindowResourceId,
                listAreaResourceId, R_AVKON_LIST_GEN_PANE_WITH_FIND_POPUP,
                findWindowParentId );
        }
    }
    allyfeng

  6. #6
    早已经解决了,谢谢!


    cool_li
    Last edited by cool_li; 2005-10-09 at 13:01.

Similar Threads

  1. how to change the input mode for listbox findbox?
    By sumn79 in forum Symbian C++
    Replies: 2
    Last Post: 2007-04-17, 14:59
  2. input mode about findbox
    By billqu in forum Symbian C++
    Replies: 1
    Last Post: 2005-08-19, 01:21
  3. how to use listbox with findbox
    By billqu in forum Symbian C++
    Replies: 2
    Last Post: 2005-01-10, 03:45
  4. Active object and ListBox´s FindBox
    By j1978 in forum Symbian C++
    Replies: 4
    Last Post: 2003-12-05, 07:27
  5. 2 problems, working with 7650 listbox
    By Onib in forum Symbian User Interface
    Replies: 2
    Last Post: 2002-09-05, 13:22

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