Fired when the user drags and releases the splitter.

Parameters

ParameterDescription
XThe splitter's new desired X position
YThe splitter's new desired Y position
WidthThe splitter's new desired width
HeightThe splitter's new desired height

Remarks

The OnSplitterMove event is fired when the user moves the splitter to a new location. It's important to note that the splitter does not actually move. Instead, you are notified of the coordinates to which the user dragged and released. It is still up to you, the developer, to move the splitter to that location and, of course, to resize all the other relevant controls.

The X and Y parameter are relative to the top left corner of the form's client area, so you can use them as is to reposition controls.

Example

Transfer Param1 to X 
Transfer Param2 to Y 
Transfer Param3 to Width 
Transfer Param4 to Height 

// move the splitter 
Set_Property(CtrlEntId, "SIZE", X:@FM:Y:@FM:Width:@FM:Height)
  • No labels