Click here to Skip to main content
15,897,704 members
Home / Discussions / C#
   

C#

 
QuestionSentiment Analysis Pin
Member 1287504731-Dec-16 5:13
Member 1287504731-Dec-16 5:13 
AnswerRe: Sentiment Analysis Pin
OriginalGriff31-Dec-16 5:41
mveOriginalGriff31-Dec-16 5:41 
AnswerRe: Sentiment Analysis Pin
Gerry Schmitz31-Dec-16 7:18
mveGerry Schmitz31-Dec-16 7:18 
AnswerRe: Sentiment Analysis Pin
Pete O'Hanlon31-Dec-16 7:38
mvePete O'Hanlon31-Dec-16 7:38 
AnswerRe: Sentiment Analysis Pin
Patrice T1-Jan-17 6:10
mvePatrice T1-Jan-17 6:10 
QuestionScroollbar thumb Y position C# Pin
didielf30-Dec-16 19:57
professionaldidielf30-Dec-16 19:57 
QuestionRe: Scroollbar thumb Y position C# Pin
Richard MacCutchan30-Dec-16 21:03
mveRichard MacCutchan30-Dec-16 21:03 
AnswerRe: Scroollbar thumb Y position C# Pin
didielf30-Dec-16 21:49
professionaldidielf30-Dec-16 21:49 
QuestionRe: Scroollbar thumb Y position C# Pin
Richard MacCutchan30-Dec-16 22:36
mveRichard MacCutchan30-Dec-16 22:36 
AnswerRe: Scroollbar thumb Y position C# Pin
didielf30-Dec-16 22:43
professionaldidielf30-Dec-16 22:43 
GeneralRe: Scroollbar thumb Y position C# Pin
Richard MacCutchan30-Dec-16 23:38
mveRichard MacCutchan30-Dec-16 23:38 
GeneralRe: Scroollbar thumb Y position C# Pin
didielf31-Dec-16 7:52
professionaldidielf31-Dec-16 7:52 
GeneralRe: Scroollbar thumb Y position C# Pin
Luc Pattyn31-Dec-16 1:51
sitebuilderLuc Pattyn31-Dec-16 1:51 
GeneralRe: Scroollbar thumb Y position C# Pin
Richard MacCutchan31-Dec-16 2:03
mveRichard MacCutchan31-Dec-16 2:03 
GeneralRe: Scroollbar thumb Y position C# Pin
Luc Pattyn31-Dec-16 2:08
sitebuilderLuc Pattyn31-Dec-16 2:08 
GeneralRe: Scroollbar thumb Y position C# Pin
Richard MacCutchan31-Dec-16 2:20
mveRichard MacCutchan31-Dec-16 2:20 
GeneralRe: Scroollbar thumb Y position C# Pin
didielf31-Dec-16 7:48
professionaldidielf31-Dec-16 7:48 
GeneralRe: Scroollbar thumb Y position C# Pin
Luc Pattyn31-Dec-16 8:06
sitebuilderLuc Pattyn31-Dec-16 8:06 
If you can't reach the scroll's bottom, it means ratio is too small. As your math seems OK, I can imagine only two reasons:

1. a rounding down error, probably caused by a bad choice of data type (such as decimal only offering two fractional digits);

2. ThumbSize() returing too large a value; so please check and/or provide the exact code for that method.

Suggestion: take one example, note all the numbers, compare what they are (from logging or interactive debug session) with what they should be (manual calculation), you then should be able to see the error right away!


PS: ClientHeight isn't always the right value, e.g. when a HScrollBar appears, it reduces the VScrollBar's height!

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Scroollbar thumb Y position C# Pin
didielf31-Dec-16 10:54
professionaldidielf31-Dec-16 10:54 
GeneralRe: Scroollbar thumb Y position C# Pin
Luc Pattyn1-Jan-17 0:47
sitebuilderLuc Pattyn1-Jan-17 0:47 
QuestionBEGINNER NEEDS HELP Pin
Member 1292900130-Dec-16 19:30
Member 1292900130-Dec-16 19:30 
AnswerRe: BEGINNER NEEDS HELP Pin
Ravi Bhavnani30-Dec-16 20:03
professionalRavi Bhavnani30-Dec-16 20:03 
AnswerRe: BEGINNER NEEDS HELP Pin
Richard MacCutchan30-Dec-16 21:02
mveRichard MacCutchan30-Dec-16 21:02 
AnswerRe: BEGINNER NEEDS HELP Pin
OriginalGriff30-Dec-16 21:03
mveOriginalGriff30-Dec-16 21:03 
QuestionWorking Between Visual Studio and Visual Studio Code Pin
TheOnlyRealTodd30-Dec-16 18:17
professionalTheOnlyRealTodd30-Dec-16 18:17 

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.