Wow. Very odd. The language reference says that LiveScroll is a locked
property. You can't
shouldn't be able to alter it at runtime. It should be throwing an exception of
some kind in this
instance, not crashing. I can reproduce the crashing on RB5.5 and RB2006 as
well.
The solution is to set the LiveScroll value in the properties window.
If you absolutely need the ability to toggle livescroll at runtime then you
could sort of hack it
by handling the MouseDown event yourself, but it would be messy considering the
arrows aren't
always going to be in the same place on every OS.
I have signed on to the following bug report and added some additional info:
http://www.realsoftware.com/feedback/viewreport.php?reportid=emeogeif
Thank you for bringing this up Daniel.
~ Tomis
--- "Daniel L. Taylor" <dtaylor at taylor-design dot com> wrote:
> If I set a Scrollbar's LiveScroll property to True on Mac OS X, then try to
> drag the thumb, the application crashes hard. This happens with both 5.5 and
> 2006r1, but only on OS X. At first I thought it was my code (using this with
> a Canvas that does some drawing), but then I tested an empty new project
> with a scrollbar in the middle of a window, where nothing happens except the
> Scrollbar setting its LiveScroll property to True on the Open event.
>
> Anyone else see this? I don't want to file a report if it's something weird
> on my Mac. (iMac G5, 10.4, all the recent updates.)
>
> Daniel L. Taylor
> Taylor Design
> Computer Consulting & Software Development
> dtaylor at taylor-design dot com
> www.taylor-design.com
>
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|