>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




Bug Reports

Author Thread: RichEdit ScrollCaret ineffective without Focus
Rex.Swain
RichEdit ScrollCaret ineffective without Focus
Posted: Saturday, June 24, 2006 12:23 PM (EST)
redbug1;i;k
© Why is ScrollCaret ineffective unless the RichEdit control has the Focus?
© 24 Jun 2006  Rex Swain, Independent Consultant,
www.rexswain.com
© APL version 5.2.10
© Windows XP Professional
© RichEdit msversion = 3
Œwself„'fm' Œwi 'Create' 'Form'
   Œwi 'caption' 'RichEdit Bug'
   Œwi 'size' 8 52
   Œwi 'Focus'
Œwself„'.red' Œwi 'Create' 'RichEdit'
   Œwi 'where' 0.5 1
   Œwi 'size' 7 50
   Œwi 'style' 4 16 32 64 4096 16384 32768
   Œ„Œwi Œ„'msversion' 
   Œwi 'seltext' ('No scrolling despite ScrollCaret:',Œtcnl)
   :for i :in 100+¼12
      k„Œdl 0.4
      Œwi 'seltext' ('Line ',(•i),Œtcnl)
      Œwi 'ScrollCaret'
   :end  
   k„Œdl 5
   Œwi 'Focus' 
   Œwi 'seltext' ('Now scrolling works:',Œtcnl)
   :for i :in 200+¼12
      k„Œdl 0.4
      Œwi 'seltext' ('Line ',(•i),Œtcnl)
      Œwi 'ScrollCaret'
   :end  
  


Comments:

Author Thread:
Support
RichEdit ScrollCaret ineffective without Focus
Posted: Sunday, June 25, 2006 5:01 PM (EST)
It appears that that's how Microsoft designed it for you can observe the same behavior in the RichText control in VB.

APL2000 Support

     



APL2000 Official Web Site

Not all who wander are lost.
-- Tolkien

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |