Solved

How to set scrollbar position on userobject programmatically

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

Industry Leaders: 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

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
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: …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

717 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