EDIT TABLES (OpenInsight Specific)
At 10 NOV 1997 11:52:40AM DEBBIE wrote:
DOES ANYONE KNOW HOW TO ASSOCIATE 2 EDIT TABLES SO THEY
SCROLL SIMULTANEOUSLY???? THANKS, DEBBIE.
At 10 NOV 1997 06:23PM Cameron Revelation wrote:
Debbie,
Use the TopPos property to scroll an edit table to a specific row. Use the VScroll event to detect vertical scrolling. (I had never done this before but with only these two things it is very easy!)
Example code:
<code> ThisPos=.Table_1-]TopPos ThatPos=.Table_2-]TopPos if ThisPos # ThatPos then .Table_2-]TopPos=ThatPos: @fm: ThisPos end return 1</code>
You'll have to substitute your own control names for Table_1 and Table_2. Also, you will want to put this code on both tables and swap the control names (Table_1 becomes Table_2 and vice versa).
Cameron Purdy