TonyM at nlisc.com
Tue Sep 10 23:10:35 EDT 2002
Okay... my "magic number" appears to be different according to what computer I run it on. I'm guessing it's related to the GTK theme or something... At work I add 200 to make the range work. At home I add 400 to the desired range to get the same results. Perhaps it's screen res related? The computers have different resolutions... Dunno.
From: Tony Maro
One more thing while we're on it... I've noticed when defining my range
I have to add 200 to it. If I want a possible position from 0-99 I have
to set the TControlScrollBar range to 300. Regardless of total range or
physical size of my control, I add the magic number 200.
Also, is there any way to define the size of the scrolling handle? I
assume that the TControlScrollBar.Increment property is what I need, but
it doesn't seem to do anything.
Coding my own paint routines to display my data in a grid-like form
turned out to be easier than I thought... the rest of the control is
coming together nicely.
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
More information about the Lazarus