Solved

How to set scrollbar position on userobject programmatically

Posted on 2011-09-23
2
1,742 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What xml editor to use. 8 102
missing "main" in Java on Eclipse 4 78
java. non-English characters encoding problem. intellij idea 3 93
netbeans can not run self signed app 8 14
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

726 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