Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Mohammad Irfan
  Where is Mohammad Irfan?
 karachi
 Pakistan
 Mohammad Irfan
 To: onytoo
  Where is onytoo?
 Padang
 Indonesia
 onytoo
 Tags
Subject: RE: How to Bind Scroll & Col of Two Grids ?
Thread ID: 344652 Message ID: 345012 # Views: 31 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Grids
Date: Thursday, May 17, 2012 9:04:10 AM         
   


> >
> > Sir,
> > I used in form.init
> > BINDEVENT(this.grid1, "Scrolled", this, "DoScroll")
> >
> > and in form.doscroll
> > thisform.grid2.doscroll(m.nDirection)
> >
> > and this works...
> > Is it the right way? Please advise.
>
>
> Basically yes, but I think you must calculate the size of scroll
> with value of first grid properties:
> 1. RelativeRow
> 2. RelativeColumn
> 3. ActiveRow
> 4. ActiveColumn
>
> to synchronize second grid scroll size and direction.
>
>
> Regards,
> Onytoo


How Sir?

ENTIRE THREAD

How to Bind Scroll & Col of Two Grids ? Posted by Mohammad Irfan @ 5/11/2012 9:14:33 PM
RE: How to Bind Scroll & Col of Two Grids ? Posted by onytoo @ 5/14/2012 2:25:25 PM
RE: How to Bind Scroll & Col of Two Grids ? Posted by Mohammad Irfan @ 5/16/2012 4:19:00 AM
RE: How to Bind Scroll & Col of Two Grids ? Posted by Mohammad Irfan @ 5/16/2012 2:21:21 PM
RE: How to Bind Scroll & Col of Two Grids ? Posted by Mohammad Irfan @ 5/16/2012 2:45:00 PM
RE: How to Bind Scroll & Col of Two Grids ? Posted by onytoo @ 5/16/2012 3:45:53 PM
RE: How to Bind Scroll & Col of Two Grids ? Posted by Mohammad Irfan @ 5/17/2012 9:04:10 AM
RE: How to Bind Scroll & Col of Two Grids ? Posted by onytoo @ 5/17/2012 11:09:16 AM
RE: How to Bind Scroll & Col of Two Grids ? Posted by Mohammad Irfan @ 5/17/2012 12:56:42 PM