Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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

[email protected]

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/3e802c9f0052c58f8525654b005cb6bb.txt
  • Last modified: 2024/01/04 21:00
  • by 127.0.0.1