trichview.support
Re: extra bug in chat demo |
Author |
Message |
Sergey Tkachenko |
Posted: 11/06/2002 2:16:35 Hi, I explained why bottom margin varies. Vertical scrollbar range is always divisible by VSmallStep. Default value of VSmallStep is 10. So, document area can be of any height, but scrolling area can have height = 10, 20, 30, 40... etc. pixels. For example, document height = 218 pixels. Range of vertical scrollbar wil be 220 pixels - 2 additional pixels to the bottom margin. For example, document height = 222 pixels. Range of vertical scrollbar wil be 230 pixels - 8 additional pixels to the bottom margin. In your example, set RV.VSmallStep = 1at the beginning of FormActivate. You'll see - bottom margin will be the same for all document heights. I did not chose font size specially. Probably, FontSize=12 have line heights divisible by 10. > Hi! > > You don't understand. > > I see version : 1.6.10 > > flash red (if run) : unregistered > > See my simple demo (D5e) |
Powered by ABC Amber Outlook Express Converter