ObjectDCL Banner

OnSplitterMoved Event

Description

Indicates the user moved this control.

Parameters

nLeft
Integer identifying the left side of the control.
nTop
Integer identifying the top side of the control.
nWidth
Integer identifying the width of the control.
nHeight
Integer identifying the height of the control.

AutoLISP Syntax

Each control that throws this event has its handler that takes this generic form:

CopyCode imageCopy Code
(defun c:FormName_ControlName_OnSplitterMoved 
                 (nLeft [as Integer] nTop [as Integer] 
                  nWidth [as Integer] nHeight [as Integer] /)
     
)

Applies For

Splitter.

Example

CopyCode imageCopy Code
; React to the splitter being moved
(princ c:MyForm_MyControl_OnSplitterMoved
                 (nLeft nTop nWidth nHeight /)
     (princ "OnSplitterMoved(")
     (princ nLeft)
     (princ ", ")
     (princ nTop)
     (princ ", ")
     (princ nWidth)
     (princ ", ")
     (princ nHeight)
     (princ ")\n")
)