Solved

How to set scrollbar position on userobject programmatically

Posted on 2011-09-23
2
1,654 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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 (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

743 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

12 Experts available now in Live!

Get 1:1 Help Now