Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2008

    textbox in canvas using PyS60

    Hi Experts,

    Is it possible to create a textbox in a canvas?

    when my application starts, a canvas will be shown. In that i need some textboxes. If i type something on selecting a textbox, it should display inside the textbox in canvas.

    Can this be done? If yes, Plz give some codes.

    Thanks in Advance,

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Deva, Romania

    Re: textbox in canvas using PyS60

    What you said can be done by either binding keys to the Canvas or (preferably, in my opinion) using the keycapture module to detect keypresses and handle things accordingly. So when a key is presses you just display the appropriate character in the textbox on the Ccanvas. Of course, it might be strange on devices that have querty keypads and all that, but you can experiment.

    You can find info about keycapture in the PyS60 Library Reference and there are several examples on this forum, just search.

Similar Threads

  1. Changing canvas flashing issue ON PYS60
    By Alpinet in forum Symbian
    Replies: 1
    Last Post: 2008-05-31, 14:50
  2. how to call canvas from textbox
    By maneeshv6 in forum Mobile Java General
    Replies: 1
    Last Post: 2008-03-26, 13:24
  3. Displaying Textbox In Canvas
    By satyarajasekhar in forum Mobile Java General
    Replies: 1
    Last Post: 2007-12-28, 18:25
  4. Major problem with delegation to Canvas
    By bartekn in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2003-10-08, 17:46
  5. Help!--Display TextBox upon Canvas
    By FriedDragon in forum Mobile Java General
    Replies: 0
    Last Post: 2003-07-31, 09:04

Posting Permissions

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