×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2005
    Location
    Albacete, Spain
    Posts
    380

    text in edwin not visible when unfocused

    My application has tens of edwins in different view, but there is one that is becoming a headache.
    This edwin is created, layout and switched with the same code as the others, but has different behaviour.
    When the edwin is focused, its text is visible. But when it looses focus, the text becomes invisible.
    How can I control text visibility when the edwin is out of focus?
    ----------------------------------------------
    Every journey starts with a small step.

  2. #2
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    Re: text in edwin not visible when unfocused

    Focus and text in the edwin are not related to each other. It's just you are able to write when the edwin has focus. Do check you are not setting the text again after it goes out of focus. Check all the SetText() and Draw() of that particular edwin.
    Regards,
    Shafali

  3. #3
    Registered User
    Join Date
    Dec 2005
    Location
    Albacete, Spain
    Posts
    380

    Re: text in edwin not visible when unfocused

    Thanks.
    I know. I am not setting the text or doing anything that I am not doing on other edwins in the app (in same or different views).
    All other edwins in the same view work OK. It is only this one, and it does not matter whether I switch its position with another one or not.
    I really do not understand why is this happening in one of around 50 edwins that the app has.
    ----------------------------------------------
    Every journey starts with a small step.

  4. #4
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    Re: text in edwin not visible when unfocused

    Quote Originally Posted by juannoguera View Post
    Thanks.
    I know. I am not setting the text or doing anything that I am not doing on other edwins in the app (in same or different views).
    All other edwins in the same view work OK. It is only this one, and it does not matter whether I switch its position with another one or not.
    I really do not understand why is this happening in one of around 50 edwins that the app has.
    Did you changed the text color of edwin?

    If yes, then pls check background color and text color doesnt get same on removing focus?

Similar Threads

  1. Setting list ( Enum Text Example)
    By sid_diu in forum Symbian
    Replies: 2
    Last Post: 2009-07-02, 12:09
  2. Text input without Edwin?
    By tvollmer in forum Symbian
    Replies: 6
    Last Post: 2004-11-03, 14:04
  3. Format text read from a file in Edwin Control
    By Vani in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-07-02, 06:36
  4. Text from Edwin
    By BigBozMan in forum Symbian User Interface
    Replies: 2
    Last Post: 2003-06-24, 16:48

Posting Permissions

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