Discussion Board

Results 1 to 2 of 2

Thread: Button text..?

  1. #1
    Regular Contributor
    Join Date
    Jun 2008

    Question Button text..?

    Hi ,
    I have created a generic button using CAknButton class.

    I need to extract the button text when i click on the button.
    I used "GetCurrentText()" ,but it shows the following error.

    "illegal access from 'CAknButton' to protected/private member 'CAknButton::GetCurrentText() const' "
    How do i solve this..?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Budapest, Hungary

    Re: Button text..?

    Subclass CAknButton and make the method public.

Similar Threads

  1. How to append text in a text file in j2me
    By lovely_334801 in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2010-04-26, 11:10
  2. how to display text box on the press of ok button in series 60
    By pravesh99_sw in forum Symbian User Interface
    Replies: 2
    Last Post: 2006-01-24, 14:40
  3. CRichText text problem
    By introuble in forum Symbian User Interface
    Replies: 2
    Last Post: 2003-09-30, 17:29
  4. Clearing Label Text
    By tejinderka in forum Symbian
    Replies: 3
    Last Post: 2003-09-19, 10:53

Posting Permissions

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