Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Manisha Sathe
  Where is Manisha Sathe?
 
 Singapore
 Manisha Sathe
 To: James Stewart
  Where is James Stewart?
 Christchurch
 New Zealand
 James Stewart
 Tags
Subject: RE: Grid help-want to know good way of doing it
Thread ID: 33789 Message ID: 33859 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: Grids
Date: Thursday, December 04, 2003 2:28:27 PM         
   


hv done a bit,

created a grid which is visisble set to .F.

added following code in child add click

thisformset.form1.grid2.Visible = .T.

WITH thisformset.Form1.Grid2
.ColumnCount = 3
.recordsource=[SELECT dob_id, dob_desc, dob_qty from whdo_b where (some condition) into cursor yy]
ENDWITH

this works fine, now when the row in above grid is selected (a small traingle appears far left) - then i want to check for double click event for this and get the all related values for selected row.

I do not know which dblclick event will detect that this row is selected, but i tried to put dblclick event for column1.text1, this works but this does not give all proper values for other col for that rows i get proper value only for column1.text1 and not for column2.text1

what i am thinking is after dblclick, get all values and put into child form and make grid invisible again,

please give me more suggestions

manisha







ENTIRE THREAD

Grid help-want to know good way of doing it Posted by Manisha Sathe @ 12/3/2003 5:16:25 PM
RE: Grid help-want to know good way of doing it Posted by Jamie Osborn @ 12/4/2003 12:44:22 AM
RE: Grid help-want to know good way of doing it Posted by James Stewart @ 12/4/2003 3:06:10 AM
RE: Grid help-want to know good way of doing it Posted by Manisha Sathe @ 12/4/2003 2:28:27 PM
RE: Grid help-want to know good way of doing it Posted by lucy alice pilanga @ 12/4/2003 3:59:09 AM