473,554 Members | 3,264 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Scrollable Control


I have a custom control which is a descendant of ScrollableContr ol.

I have everything working fine, except I want to be able to adjust the
scroll position in code.
I have created some 'hot spot' areas around the edges of the control,
and I want to be able to change the values of the scrollbar positions
when the mouse is over one of these areas - but I don't seem to be able
to get access to the actual scroll bars.

There must be a way of doing this.
Please help - this is driving me mad!
Paul Cheetham
Jan 20 '06 #1
0 1017

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Matt Kruse | last post by:
This is a typical layout, but I have specific requirements. I'm trying to figure out a) if it's possible to meet the requirements and b) if so, how. +---------------+ | header | +---------------+ | body | | (scrollable) | +---------------+ | footer |
by: RJN | last post by:
Hi Sorry for posting again. I have a datagrid which is put inside a div tag to make it scrollable. I need to page the datagrid. The page numbers appear at the bottom of the datagrid and has to be scrolled down completely to see the page number links. The page number should always be visible outside the scroll bar. Basically I want to...
by: Brian Henry | last post by:
Hello, I want to make a control that has a scrollable Gantt type display (not really one but will look similar to one) this is going to be custom drawn (i already have the drawing procedure completed for the overriden onpaint event) but the problem is this can be a very long scrollable viewport (part that scrolls inside the control) while...
by: Ethan S. | last post by:
Hi everyone, I'm working on a small little project of mine and got stuck trying to add my own usercontrol into a scrollable object. For example, when a download is initiated under Mozilla Firefox, an entry will be added into the download window's panel/groupbox/whatever that is. Please advise on what object/control to use to accomplish...
by: Paul Cheetham | last post by:
Hi, I have created a control derived from a Scrollable control. Can anyone tell me how I can get a reference to the scroll bars, so that I can manipulate the positions in code? If I enumerate the child controls they don't show, but there bust be a way of accessing them.
by: Ben H | last post by:
Hello all I'm using a listview in my app but I want to scroll the listview programatically as I hate the look of the standard scrollbar. So, the listview is scrolled programatically using ensurevisible, ie the listview shows a maximum of 6 items and if I want to scroll down one I use the code... ...
by: Mathias | last post by:
I have the following code that generates a bitmap on which I'm drawing a graph. The graph has one point for each minute in a day so the bitmap is 1440 pixels in height. Therefore I'd like to place the bitmap in a scrollable control. I tried with a panel Panel panel = new Panel(); panel.Controls.Add(bitmap); but it doesn't work. So, can...
by: Rune Jacobsen | last post by:
Hi all, In my project I have a control (described in an earlier post) which basically consists of three "subcontrols": One big area where the vital data is displayed (scrollable, since it will usually be larger than the window containing the parent control), a time strip on top of it, and a resource list on the left. Long story short - when...
by: Nathan Sokalski | last post by:
I am looking to create a multi-column list that is scrollable, kind of like a ListBox control, only I need a way to align the columns of text that I will have (I would use spaces, but because the ListBox normally uses a variable-width font, that would not work). Is there a control like the DataList (a control that uses templates and...
by: LonelyRanger | last post by:
Hi Everyone, Thanks for your time. My question is based on VB.NET, pictureboxes and a scrollablecontrol. I have several pictureboxes inside a scrollable control. The scrollablecontrol is docked to form1. When i resize the form, then scrollablecontrol resizes aswell. What i need is for the pictureboxes to set themselves up so that they...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.