×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2008
    Location
    Bangalore
    Posts
    42

    Red face How to Add buttons....?

    i am developing a Calculator....

    plz tell me how to Add Buttons (which contains +,- text on butons) and also i would like to add two text boxes one which
    accept values, and another to display the result?

  2. #2
    Regular Contributor
    Join Date
    Jun 2003
    Location
    Jakarta, Indonesia
    Posts
    164

    Re: How to Add buttons....?

    As far as I know, there is no button control on S60, you can draw your own then and handle the action by yourself. For text editor, you can use CEikEdwin.

    Regards,



    Herwin

  3. #3
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Braunschweig, Germany
    Posts
    345

    Re: How to Add buttons....?

    Without having a touch screen there is not much use in having button controls in S60 because there is no way to press the buttons.

    If you want to do something similar to the builtin calculator functionality, you have to create your own controls.

    Bernd

  4. #4
    Registered User
    Join Date
    Feb 2008
    Location
    Bangalore
    Posts
    42

    Re: How to Add buttons....?

    How to crate my own controls?

  5. #5
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Braunschweig, Germany
    Posts
    345

    Re: How to Add buttons....?

    There is a set of articles in the wiki about this. Here is how to create a cutom control:

    http://wiki.forum.nokia.com/index.ph...Custom_control

    Bernd

Similar Threads

  1. J2ME MIDP2 soft buttons
    By arikoivisto in forum Mobile Java Tools & SDKs
    Replies: 7
    Last Post: 2008-12-01, 18:22
  2. How to add buttons to form like S40?
    By adaromas in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2007-11-02, 05:50
  3. How to add buttons to Canvas
    By afka in forum Mobile Java General
    Replies: 4
    Last Post: 2006-08-27, 17:12
  4. How to add buttons to the control pane?
    By eyvind1 in forum Mobile Java General
    Replies: 1
    Last Post: 2005-02-02, 04:42

Posting Permissions

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