Wrox Programmer Forums
|
BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer
This is the forum to discuss the Wrox book Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer by Rod Stephens; ISBN: 9780470596906
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 4th, 2013, 06:00 AM
Authorized User
 
Join Date: Aug 2013
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Smile Lesson4_HScrollBar

How do you create a HScollBar or VScrollBar.
I can't seem to find a "Common Control" that looks like a scroll bar.
Page 49 in the book
Code:
mouseHScrollBar.Value = e.X;
did not want to work for me.
What step have I missed ?
Hope you can assist.
 
Old August 4th, 2013, 11:33 AM
Rod Stephens's Avatar
Wrox Author
 
Join Date: Jan 2006
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

The HScrollBar and VScrollBar are two separate controls. If you right-click the Toolbox, you can select List View to see the names of the controls.

The icons for them are rally squashed so all you really see is the two arrows (up/down or left/right).

You may need to look in the All Windows Forms section of the Toolbox. I don't think the scroll bars are in the Common Controls section.
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)
 
Old August 5th, 2013, 04:15 AM
Authorized User
 
Join Date: Aug 2013
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Lesson4_HScrollBar

Found it - OK
Thanks









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.