473,406 Members | 2,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

HScrollBar

I have in the minimun property of a hscrollbar the value -50 and in the
maximun 50. The Maximun value that the bar gives me is 41. Why?

Thank you.
Nov 16 '05 #1
1 2050
The actual maximum value that the user can set on your scroll bar is
(Maximum - LargeChange) + 1. So you probably have your LargeChange propery
set to 10.

You can still set the scrollbar's .value property to the maximum
programmatically. See the documentation for the "Maximum" property,
especially the "Remarks" section.
"Alberto" <al*****@nospam.com> wrote in message
news:uY*************@TK2MSFTNGP10.phx.gbl...
I have in the minimun property of a hscrollbar the value -50 and in the
maximun 50. The Maximun value that the bar gives me is 41. Why?

Thank you.

Nov 16 '05 #2

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

Similar topics

1
by: paolo.riba | last post by:
Hi everybody! Could anyone know how can I syncronize a horizontal scrollbar with a listview? Actually I can only syncronize the horizontal scrollbar with the listview horizontal scrollbar, but...
0
by: syed_saqib_ali | last post by:
Below is a simple code snippet showing a Tkinter Window bearing a canvas and 2 connected scrollbars (Vertical & Horizontal). Works fine. When you shrink/resize the window the scrollbars adjust...
2
by: Eddy | last post by:
Hi, I set the maximum value of an HScrollbar on 255. When I scroll to the maximum, the maximum value remains 246. How is this possible?? I put some code in the Scroll event, make the...
0
by: meicher | last post by:
Hello, HScrollBar and VScrollBar respond to the arrow keys. How can I disable this ? I tried to override the key methodes from this two classes. It didn't help. :?: Posted Via Usenet.com...
0
by: meicher | last post by:
Hi, I have an application with forms. Every form includes a VScrollBar and a HScrollBar. The ScrollBars allways get the arrow keys and start blinking ? How can I catch these key events ? KeyUp,...
0
by: Valerie Hough | last post by:
I have created an owner draw ListBox object. I have added an HScrollBar control to its Control collection. I have set the Anchor property to AnchorStyles.Bottom and the Dock property to...
8
by: Pauli Østerø | last post by:
I have a serious problem. I have made an Control which draws a blueprint of a building and a related SpotMatrix. I have made it possible to zoom in on the blueprint and scroll around if the size...
1
by: john doe | last post by:
I'm subclassing a HScrollBar and overriding the WndProc method: protected override void WndProc(ref Message m) { base.WndProc (ref m); System.Diagnostics.Debug.WriteLine((Msg)m.Msg); } ...
0
by: lazzypink | last post by:
Hi guys! May i know how to use HScrollBar to control listview scrollbar? thanks!
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
0
agi2029
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,...
0
isladogs
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...

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.