wxPython field validation

Discussion in 'Python' started by lux, Jul 20, 2005.

  1. lux

    lux Guest

    Hi all,
    I'm using wxPython and I need to block
    the cursor (focus) in a TextCtrl until the field
    value is valid.

    I've look EVT_KILL_FOCUS but I can't stop the
    focus beavoir (no focus to next field)

    Any ideas?

    Tanks a lot and sorry for my english.
    lux, Jul 20, 2005
    #1
    1. Advertising

  2. lux

    fred.dixon Guest

    why not validate then put cursor back into that field until satisfied.
    might use the lost focus (cant remember exact name right now)
    fred.dixon, Jul 20, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anand
    Replies:
    1
    Views:
    344
    Cliff Wells
    Jul 23, 2003
  2. ulysses
    Replies:
    4
    Views:
    757
    Werner Schiendl
    Oct 22, 2003
  3. Logan
    Replies:
    5
    Views:
    754
    David Bolen
    Dec 11, 2003
  4. Sound
    Replies:
    2
    Views:
    430
    Randy Webb
    Sep 28, 2006
  5. jr
    Replies:
    3
    Views:
    409
Loading...

Share This Page