Solved

How to set scrollbar position on userobject programmatically

Posted on 2011-09-23
2
1,697 Views
Last Modified: 2013-12-26
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
0
Comment
Question by:nglara
2 Comments
 
LVL 18

Accepted Solution

by:
diasroshan earned 500 total points
ID: 36717694
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
 

Author Closing Comment

by:nglara
ID: 36943088
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now