Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Stefan Wuebbe
  Where is Stefan Wuebbe?
 Hamburg
 Germany
 Stefan Wuebbe
 To: Neeraj Charne
  Where is Neeraj Charne?
 Indore
 India
 Neeraj Charne
 Tags
Subject: RE: I have Little proble with Class
Thread ID: 248740 Message ID: 248848 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Classes and Objects
Date: Wednesday, December 23, 2009 6:57:22 PM         
   


Hi Neeraj,

An additional line
&setfcs
right after line 47 in the InterActiveChange() of class text_list of nee_class.vcx seems to cure the symptom:
[Added: attachment]
https://www.foxite.com/uploads/3f915c1e-bb73-43e5-b837-57af433d2847.zip

What happens is that the SQL statements running either in line 41 or line 44 destroys the grid, the infamous "grid reconstruction" issue, so that it does not have the focus anymore that it had got in the previous KeyPress() code.


hth
-Stefan

> I created a Text_list class for Selecting Master information from Tables.
> (as per property setting)
>
> When i type ....it highlights the selection
> but when i Press Down arrow for Selecting the Grid option
> highlight get disappear again pressing Down arrow than it shows....
>
> i am attaching Zip here
>
> https://www.foxite.com/uploads/07d71512-5bfc-4511-8127-96607c2cfd2a.zip
>
>
>

ENTIRE THREAD

I have Little proble with Class Posted by Neeraj Charne @ 12/22/2009 7:48:22 PM
RE: Stefan...i have Little proble with Class Posted by Stefan Wuebbe @ 12/23/2009 10:29:51 AM
RE: Stefan...i have Little proble with Class Posted by Neeraj Charne @ 12/23/2009 6:30:40 PM
RE: I have Little proble with Class Posted by Stefan Wuebbe @ 12/23/2009 6:57:22 PM
RE: I have Little proble with Class Posted by Neeraj Charne @ 12/23/2009 8:55:47 PM
RE: I have Little proble with Class Posted by anand kulkarni @ 12/24/2009 3:58:32 AM
RE: I have Little proble with Class Posted by Neeraj Charne @ 12/25/2009 10:58:07 AM
RE: I have Little proble with Class Posted by anand kulkarni @ 12/26/2009 1:03:18 PM
RE: I have Little proble with Class Posted by Stefan Wuebbe @ 12/24/2009 8:42:59 AM
RE: I have Little proble with Class Posted by Neeraj Charne @ 12/25/2009 11:15:47 AM
RE: I have Little proble with Class Posted by Jun Tangunan @ 12/26/2009 4:20:04 AM
RE: I have Little proble with Class Posted by Stefan Wuebbe @ 12/26/2009 8:34:21 AM
RE: I have Little proble with Class Posted by vivek deodhar @ 12/30/2009 6:15:42 AM
RE: I have Little proble with Class Posted by Stefan Wuebbe @ 12/30/2009 9:30:32 AM