|
Hi
I have a problem with tSplitters.
My application uses a class called
tjaBrowserPanel (derived from tCustomPanel).
An object of type tjaBrowserPanel
contains browsers, an object of type
tjaBrowserList (derived from tList)
The entries in browsers point to
objects of type tjaBrowser, (derived from
tTabControl), each of which contains an object called
browserWindow, of type tjaBrowser and an object called
splitter of type
tjaBrowserSplitter.
The idea is that a browserPanel should contain an
arbitrary number of dynamically-created browsers separated by splitters
whcih can be used to change the amount of space available for
each browser. There's a routine
tjaBrowserSplitter.recordMovement that manages the space
allocated to the entire set of browsers when one of the splitters is
moved
The problem is that as soon as the user executes a
mouedown on one of the splitters, it jumps about 30 pixels up the screen. It
isn't my code that's doing it; I put in a mousedown handler that displays a
message when the mousedown occurs. It generates its message, and then the
recordMovement routine executes. So something else is moving
the splitter as soon as the mousedown occurs. Does anyone have any
ideas?
_________
Paul Lyons
_________ |
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
