Hi Everyone,

     I'm trying to create a handler to synchronize the horizontal 
scrolling of two fields.  I've written the following handler based on the 
online example to initialize the scrollbar.  This works right up to the 
far right (end of the scrollbar) where the last "column" of data in the 
two fields is out of alignment.  Any thoughts?

on mouseUp
  set the endValue of scrollbar "X" to the formattedWidth of fld "Y"
  set the thumbSize of scrollbar "X" to the width of fld "Y"
  set the lineInc of scrollbar "X" to the effective width of fld "Y"
  set the pageInc of scrollbar "X" to the effective width of fld "Y"
  set the thumbPos of scrollbar "X" to 0
end mouseUp

     Regards,

          Greg



____________________________________________________________
Gregory Lypny
Associate Professor
John Molson School of Business
Concordia University
Montreal, Canada

____________________________________________________________
"It's not dark yet,
 But it's gettin' there."
   - Bob Dylan


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to