WindowSplitter Xojo Plugin

WindowSplitter.SplitterMoved Event

This event is fired when a splitter has moved.

SplitterMoved(
   X as Integer,
   Y as Integer)

Parameters

X
The the number of pixels that the splitter was moved in x direction (Only vertical splitter can move in this direction).
Y
The the number of pixels that the splitter was moved in y direction (Only horizontal splitter can move in this direction).

Remarks

In previous versions of the WindowSplitter then this event was used to resize the controls that should be affected by the WindowSplitter. This is in most cases not needed any more as the WindowSplitter provides the AddControl method to add controls to list of controls that the WindowSplitter will internally manage.

There are two main reasons for still providing this event:

  • Backward compatibility.
  • To allow for custom resizing of controls to be used in cases where the WindowSplitter will not know how to resize the controls correctly.

    See Also

    WindowSplitter Control