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. Advertisements

  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. Advertisements

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:
    529
    Cliff Wells
    Jul 23, 2003
  2. ulysses
    Replies:
    4
    Views:
    1,082
    Werner Schiendl
    Oct 22, 2003
  3. Logan
    Replies:
    5
    Views:
    968
    David Bolen
    Dec 11, 2003
  4. Ruben Charles
    Replies:
    6
    Views:
    668
    =?ISO-8859-1?Q?Michael_Str=F6der?=
    Oct 25, 2005
  5. Robin Dunn
    Replies:
    0
    Views:
    689
    Robin Dunn
    Mar 28, 2006
  6. Robin Dunn
    Replies:
    0
    Views:
    471
    Robin Dunn
    Apr 4, 2006
  7. Sound
    Replies:
    2
    Views:
    742
    Randy Webb
    Sep 28, 2006
  8. jr
    Replies:
    3
    Views:
    683
Loading...