Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jun Tangunan
  Where is Jun Tangunan?
 Cabanatuan
 Philippines
 Jun Tangunan
 To: prasanna kunder
  Where is prasanna kunder?
 mumbai
 India
 prasanna kunder
 Tags
Subject: RE: how change grid behaviour
Thread ID: 331302 Message ID: 331326 # Views: 53 # Ratings: 1
Version: Visual FoxPro 9 Category: Forms
Date: Wednesday, December 28, 2011 11:49:45 PM         
   


> hi experts
>
> i have form with 3 text object and 1 grid with 5 column
> like this
> text1
> text2
> text3
>
> Grid
> column1 column2 column3 column4 column5
>
> with 5 records
>
> when i run form, use keyboard
>
> it's start from text1,text2,text3
> then grid
> within grid i press tab and i am at column3
> i press CTRL+TAB it will jump on text1,ok
> text2, text3
> then it will jump on grid but column3
> not in column1
>
> i need it's focus on column1
>
> how it's possible
> difficult to explain
> pl.reply
> thanks again


Have you, by any chance, give a coded instruction something like this in Text3's LostFocus event?

Thisform.Grid1.Column1.SetFocus


And that the Grid's focus goes into column3 and not column1?

If so, then check your grid columns. Maybe you have accidentally rearranged the columns into something like Column2, Column3, Column1 (now this is the 3rd in appearance), Column4, Column5.

So when you setfocus on Column1, it is going to the proper place which is now the 3rd Column in arrangement.

Just a hunch!


http://sandstorm36.blogspot.com
http://weblogs.foxite.com/sandstorm36/default.aspx

ENTIRE THREAD

how change grid behaviour Posted by prasanna kunder @ 12/28/2011 6:15:56 PM
RE: how change grid behaviour Posted by Glen Villar @ 12/28/2011 11:42:54 PM
RE: how change grid behaviour Posted by Jun Tangunan @ 12/28/2011 11:49:45 PM
RE: how change grid behaviour Posted by Zul Rahim @ 12/29/2011 4:30:17 AM
RE: how change grid behaviour Posted by prasanna kunder @ 12/29/2011 7:02:26 AM