Type | Description | |||
RotateDir as RotateEnum | A RotateEnum expression that specifies the direction the move occurred. | |||
FromFace as FaceEnum | A FaceEnum expression that specifies the index of the face that the user drags from. | |||
ToFace as FaceEnum | A FaceEnum expression that specifies the index of the face that the user drags to. |
The position of the cube is given by the following properties:
The Zoom event notifies your application that the view is zoomed. The Rotate event occurs once the cube is rotated.
Syntax for Move event, /NET version, on:
private void Move(object sender,exontrol.EXTREECUBELib.RotateEnum RotateDir,exontrol.EXTREECUBELib.FaceEnum FromFace,exontrol.EXTREECUBELib.FaceEnum ToFace) { } Private Sub Move(ByVal sender As System.Object,ByVal RotateDir As exontrol.EXTREECUBELib.RotateEnum,ByVal FromFace As exontrol.EXTREECUBELib.FaceEnum,ByVal ToFace As exontrol.EXTREECUBELib.FaceEnum) Handles Move End Sub |
private void Move(object sender, AxEXTREECUBELib._ITreeCubeEvents_MoveEvent e) { } void OnMove(long RotateDir,long FromFace,long ToFace) { } void __fastcall Move(TObject *Sender,Extreecubelib_tlb::RotateEnum RotateDir,Extreecubelib_tlb::FaceEnum FromFace,Extreecubelib_tlb::FaceEnum ToFace) { } procedure Move(ASender: TObject; RotateDir : RotateEnum;FromFace : FaceEnum;ToFace : FaceEnum); begin end; procedure Move(sender: System.Object; e: AxEXTREECUBELib._ITreeCubeEvents_MoveEvent); begin end; begin event Move(long RotateDir,long FromFace,long ToFace) end event Move Private Sub Move(ByVal sender As System.Object, ByVal e As AxEXTREECUBELib._ITreeCubeEvents_MoveEvent) Handles Move End Sub Private Sub Move(ByVal RotateDir As EXTREECUBELibCtl.RotateEnum,ByVal FromFace As EXTREECUBELibCtl.FaceEnum,ByVal ToFace As EXTREECUBELibCtl.FaceEnum) End Sub Private Sub Move(ByVal RotateDir As Long,ByVal FromFace As Long,ByVal ToFace As Long) End Sub LPARAMETERS RotateDir,FromFace,ToFace PROCEDURE OnMove(oTreeCube,RotateDir,FromFace,ToFace) RETURN |
<SCRIPT EVENT="Move(RotateDir,FromFace,ToFace)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function Move(RotateDir,FromFace,ToFace) End Function </SCRIPT> Procedure OnComMove OLERotateEnum llRotateDir OLEFaceEnum llFromFace OLEFaceEnum llToFace Forward Send OnComMove llRotateDir llFromFace llToFace End_Procedure METHOD OCX_Move(RotateDir,FromFace,ToFace) CLASS MainDialog RETURN NIL void onEvent_Move(int _RotateDir,int _FromFace,int _ToFace) { } function Move as v (RotateDir as OLE::Exontrol.TreeCube.1::RotateEnum,FromFace as OLE::Exontrol.TreeCube.1::FaceEnum,ToFace as OLE::Exontrol.TreeCube.1::FaceEnum) end function function nativeObject_Move(RotateDir,FromFace,ToFace) return |