Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yuri Rubinov
  Where is Yuri Rubinov?
 Pennsylvania - United States
 Yuri Rubinov
 To: Neeraj Charne
  Where is Neeraj Charne?
 Neeraj Charne
Subject: RE: Esc is not working on a grid
Thread ID: 240273 Message ID: 240280 # Views: 34 # Ratings: 1
Version: Visual FoxPro 9 SP2 Category: Grids
Date: Friday, September 11, 2009 9:57:30 PM         

> Esc is not Working in Grid why
> i attached the for.
> another question is why grid not have GotFocus & LostFocus
> http://www.foxite.com/uploads/ee3db4bb-84bd-477a-8441-4412c3594e08.zip

I guess that ESC has many and different default options regarding what control is currently in focus. There are also /set escape/ and /on key/ commands that may affect the behavior for ESC.
Your form is releasing however for Shift+ESC.

Could you use another button to release the form?

As of why grid does not have GotFocus & LostFocus, then grid is a container, and thus logically if the grid has focus, then the particular control inside the container gotfocus.

Best Wishes,

Yuri Rubinov