Click here to Skip to main content
15,922,584 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is there a good way to do this? Pin
Iulian Serban8-Jun-03 6:04
Iulian Serban8-Jun-03 6:04 
AnswerRe: Is there a good way to do this? Pin
KingTermite8-Jun-03 8:39
KingTermite8-Jun-03 8:39 
GeneralDistributing C# .NET programs... major headache. Pin
EvilDingo7-Jun-03 20:13
EvilDingo7-Jun-03 20:13 
GeneralRe: Distributing C# .NET programs... major headache. Pin
leppie7-Jun-03 22:50
leppie7-Jun-03 22:50 
GeneralRe: Distributing C# .NET programs... major headache. Pin
EvilDingo8-Jun-03 0:42
EvilDingo8-Jun-03 0:42 
GeneralRe: Distributing C# .NET programs... major headache. Pin
leppie8-Jun-03 1:04
leppie8-Jun-03 1:04 
GeneralRe: Distributing C# .NET programs... major headache. Pin
Steven Behnke10-Jun-03 12:58
Steven Behnke10-Jun-03 12:58 
QuestionLable auto resize vertically to show hidden text? Pin
Weiye Chen7-Jun-03 18:44
Weiye Chen7-Jun-03 18:44 
GeneralI encountered an System.Net.Sockets.SocketException, but dunno why it happened Pin
viperxp7-Jun-03 17:39
viperxp7-Jun-03 17:39 
GeneralRe: I encountered an System.Net.Sockets.SocketException, but dunno why it happened Pin
leppie7-Jun-03 22:38
leppie7-Jun-03 22:38 
GeneralRe: I encountered an System.Net.Sockets.SocketException, but dunno why it happened Pin
viperxp15-Jun-03 5:54
viperxp15-Jun-03 5:54 
QuestionHow to check... Pin
Kant7-Jun-03 17:36
Kant7-Jun-03 17:36 
AnswerRe: How to check... Pin
leppie7-Jun-03 22:35
leppie7-Jun-03 22:35 
GeneralRe: How to check... Pin
Kant8-Jun-03 4:21
Kant8-Jun-03 4:21 
GeneralRe: How to check... Pin
shaunAustin9-Jun-03 0:46
shaunAustin9-Jun-03 0:46 
GeneralRe: How to check... Pin
Kant9-Jun-03 5:03
Kant9-Jun-03 5:03 
QuestionHow to create a 'copy' and 'paste' feature for selected cell ranges Pin
sleepycat7-Jun-03 15:40
sleepycat7-Jun-03 15:40 
GeneralVisual C# question Pin
dratti7-Jun-03 12:24
dratti7-Jun-03 12:24 
GeneralRe: Visual C# question Pin
leppie7-Jun-03 13:02
leppie7-Jun-03 13:02 
GeneralRe: Visual C# question Pin
dratti7-Jun-03 22:21
dratti7-Jun-03 22:21 
GeneralRe: Visual C# question Pin
Iulian Serban7-Jun-03 22:22
Iulian Serban7-Jun-03 22:22 
GeneralRe: .NET Framework Initialization Error Pin
James T. Johnson7-Jun-03 15:07
James T. Johnson7-Jun-03 15:07 
GeneralRe: .NET Framework Initialization Error Pin
shaunAustin9-Jun-03 0:48
shaunAustin9-Jun-03 0:48 
GeneralRe: .NET Framework Initialization Error Pin
shaunAustin9-Jun-03 9:10
shaunAustin9-Jun-03 9:10 
GeneralScrollBar.LargeChange Pin
Iulian Serban7-Jun-03 3:04
Iulian Serban7-Jun-03 3:04 
Hi,

If anyone can, please help me with this:
How do I need to set the ScrollBar.LargeChange value so that the size of the scrollbar is proportional to the visible area of my control?

My control has an invisible part (it`s bigger than the clientRectangle) and I need a horizontal scrollbar to scroll the contents of my control. I need the HScrollBar Gripper area width to be proportional to the ClientRectangle.Width of my control in comparison to the entire width of the control (the invisible part too). I know this has to do with the LargeChange property of the ScrollBar but it doesn`t work. I tried something like this:

this.hScrollBar.LargeChange = hScrollBar.Maximum * (CilentRectangle.Width/WholeWidth);

If anyone has another idea please reply to this post.

Thanks!

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.