Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Glen Villar
  Where is Glen Villar?
 Palayan City
 Philippines
 Glen Villar
 To: prasanna kunder
  Where is prasanna kunder?
 mumbai
 India
 prasanna kunder
 Tags
Subject: RE: how change grid behaviour
Thread ID: 331302 Message ID: 331325 # Views: 58 # Ratings: 1
Version: Visual FoxPro 9 Category: Forms
Date: Wednesday, December 28, 2011 11:42:54 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

Since you're moving through controls with tab, in Text3.LostFocus, you can command the event to focus on the grid's column1 instead.

*-- TEXT3.LOSTFOCUS
thisform.grid1.column1.SetFocus



(coffee)
It's never too late.
My New Website:  Glen Villar

http://fruitypc.blogspot.com
http://walkingwonderland.blogspot.com

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