Rajesh Patidar wrote in message <26283@palm-dev-forum>...
>
>> Ah!  Now my question: What are your initial scroll bar settings?  Did you
>> leave them defaults, and now you're trying to set a combination of
>> valid/invalid data?  What happens when you set a scrollbar to a page size
>of
>> 0?
>    I have tried many different values for scroll settings ,including
>default one, but nothing works. Here everybody seems to confused with
>GetObjectPtr() function, which is just a function which returns the object
>pointer for the given resource id(scroll bar here). I am sure this function
>is 100% right. But the problem is still there.
>


That function would be right IFF the object is in the active form
and the active form is the one you think it is (not always the case).

Try getting the form pointer using the form ID and getting the object
with that.

--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to