Combo and Exit Routine

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Jim (jimDontWantAnyEmail.com)
Date: 01/05/05


Date: Tue, 04 Jan 2005 18:13:08 -0700

I thought that if I wanted to exit the ComboBox (VFP7) I could press
ESC and in the KeyPress Event I would RETURN 0. This seems to fire
the Valid event, where I am checking for LASTKEY() = 27 and once again
returning 0. Does not seem to work. What important steps am I
missing here?

Thanks for your help



Relevant Pages

  • ComboBox and Exit
    ... I thought that if I wanted to exit the ComboBox (VFP7) I could press ... ESC and in the KeyPress Event I would RETURN 0. ...
    (microsoft.public.fox.vfp.forms)
  • Re: Combobox
    ... I would love to master FoxPro and actually be the one helping people on discussion groups. ... I have a question related to the ComboBox this time. ... I found the KeyPress event. ... I can get the Key Code for each ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Combobox
    ... Dan ... I have a question related to the ComboBox this time. ... > I found the KeyPress event. ... I can get the Key Code for each ...
    (microsoft.public.fox.programmer.exchange)
  • Combobox
    ... Firt of all thank you all who have helped me with my File Access Error. ... I have a question related to the ComboBox this time. ... I found the KeyPress event. ... I can get the Key Code for each character. ...
    (microsoft.public.fox.programmer.exchange)
  • RE: Autocomplete with big lookup table
    ... I think what you want to do here is handle the keypress event, ... I tried to use Combobox with lookup table. ... I can set combobox autocomplete source to lookup table and autocomplete ...
    (microsoft.public.dotnet.languages.csharp)