How to set scrollbar position on userobject programmatically

I have a user object that has several datawindows, one on
top of the other so that the cummulative height of the
datawindows is greater than the height of the user object.
Depending on the situation I would like to open the user
object with the user object scrolled to the lowest
datawindow.

How do you do programmatically position the vertical scoll
bar on a user object?  Something similar to the
verticalscrollposition on a datawindow?

Thanks
nglaraAsked:
Who is Participating?
 
diasroshanConnect With a Mentor Commented:
Hi,

i guess u need to play around with the below code which will scroll ur userobject to the end,

Send(Handle(This), 277, 3, 0)

Reference :
http://www.rgagnon.com/pbdetails/pb-0175.html
http://pbdj.sys-con.com/node/198707?page=0,1

Cheers,
Rosh
0
 
nglaraAuthor Commented:
I considered to accept this solution even though I could not make it run. It's just that I don't get the laxury to play around with different values for the parameters required by the function.
0
All Courses

From novice to tech pro — start learning today.