home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / a3ddem1a / remote.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-09-23  |  18.1 KB  |  618 lines

  1. VERSION 5.00
  2. Begin VB.Form Remote 
  3.    AutoRedraw      =   -1  'True
  4.    BackColor       =   &H00404040&
  5.    BorderStyle     =   1  'Fixed Single
  6.    Caption         =   "Remote"
  7.    ClientHeight    =   8310
  8.    ClientLeft      =   9450
  9.    ClientTop       =   375
  10.    ClientWidth     =   2550
  11.    ClipControls    =   0   'False
  12.    ControlBox      =   0   'False
  13.    LinkTopic       =   "Form1"
  14.    MaxButton       =   0   'False
  15.    MinButton       =   0   'False
  16.    ScaleHeight     =   8310
  17.    ScaleWidth      =   2550
  18.    Begin VB.CommandButton CmdExit 
  19.       BackColor       =   &H00808080&
  20.       Caption         =   "E X I T"
  21.       BeginProperty Font 
  22.          Name            =   "MS Serif"
  23.          Size            =   24
  24.          Charset         =   0
  25.          Weight          =   700
  26.          Underline       =   0   'False
  27.          Italic          =   0   'False
  28.          Strikethrough   =   0   'False
  29.       EndProperty
  30.       Height          =   8025
  31.       Left            =   2040
  32.       MaskColor       =   &H000000FF&
  33.       TabIndex        =   20
  34.       Top             =   120
  35.       Width           =   375
  36.    End
  37.    Begin VB.HScrollBar ScrZoom 
  38.       Height          =   255
  39.       LargeChange     =   10
  40.       Left            =   240
  41.       Max             =   9999
  42.       TabIndex        =   18
  43.       Top             =   7440
  44.       Width           =   1575
  45.    End
  46.    Begin VB.HScrollBar ScrScale 
  47.       Height          =   255
  48.       LargeChange     =   20
  49.       Left            =   240
  50.       Max             =   5000
  51.       Min             =   -5000
  52.       TabIndex        =   15
  53.       Top             =   6120
  54.       Value           =   20
  55.       Width           =   1575
  56.    End
  57.    Begin VB.HScrollBar ScrZTrans 
  58.       Height          =   255
  59.       LargeChange     =   4
  60.       Left            =   240
  61.       Max             =   9999
  62.       Min             =   -9999
  63.       TabIndex        =   10
  64.       Top             =   4800
  65.       Width           =   1575
  66.    End
  67.    Begin VB.HScrollBar ScrYTrans 
  68.       Height          =   255
  69.       LargeChange     =   4
  70.       Left            =   240
  71.       Max             =   9999
  72.       Min             =   -9999
  73.       TabIndex        =   9
  74.       Top             =   4080
  75.       Width           =   1575
  76.    End
  77.    Begin VB.HScrollBar ScrXTrans 
  78.       Height          =   255
  79.       LargeChange     =   4
  80.       Left            =   240
  81.       Max             =   9999
  82.       Min             =   -9999
  83.       TabIndex        =   8
  84.       Top             =   3360
  85.       Width           =   1575
  86.    End
  87.    Begin VB.HScrollBar ScrZRot 
  88.       Height          =   255
  89.       LargeChange     =   5
  90.       Left            =   240
  91.       Max             =   360
  92.       TabIndex        =   3
  93.       Top             =   2040
  94.       Width           =   1575
  95.    End
  96.    Begin VB.HScrollBar ScrYRot 
  97.       Height          =   255
  98.       LargeChange     =   5
  99.       Left            =   240
  100.       Max             =   360
  101.       TabIndex        =   2
  102.       Top             =   1320
  103.       Width           =   1575
  104.    End
  105.    Begin VB.HScrollBar ScrXRot 
  106.       Height          =   255
  107.       LargeChange     =   5
  108.       Left            =   240
  109.       Max             =   360
  110.       TabIndex        =   1
  111.       Top             =   600
  112.       Width           =   1575
  113.    End
  114.    Begin VB.Line Line24 
  115.       BorderColor     =   &H00FF8080&
  116.       X1              =   120
  117.       X2              =   840
  118.       Y1              =   7320
  119.       Y2              =   7320
  120.    End
  121.    Begin VB.Line Line23 
  122.       BorderColor     =   &H00FF8080&
  123.       X1              =   840
  124.       X2              =   840
  125.       Y1              =   7320
  126.       Y2              =   6960
  127.    End
  128.    Begin VB.Line Line22 
  129.       BorderColor     =   &H00FF8080&
  130.       X1              =   120
  131.       X2              =   120
  132.       Y1              =   7320
  133.       Y2              =   8160
  134.    End
  135.    Begin VB.Line Line21 
  136.       BorderColor     =   &H00FF8080&
  137.       X1              =   120
  138.       X2              =   1920
  139.       Y1              =   8160
  140.       Y2              =   8160
  141.    End
  142.    Begin VB.Line Line20 
  143.       BorderColor     =   &H00FF8080&
  144.       X1              =   1920
  145.       X2              =   1920
  146.       Y1              =   8160
  147.       Y2              =   6960
  148.    End
  149.    Begin VB.Line Line19 
  150.       BorderColor     =   &H00FF8080&
  151.       X1              =   840
  152.       X2              =   1920
  153.       Y1              =   6960
  154.       Y2              =   6960
  155.    End
  156.    Begin VB.Label LblZm 
  157.       Alignment       =   2  'Center
  158.       BackStyle       =   0  'Transparent
  159.       Caption         =   "Zoom : 0"
  160.       BeginProperty Font 
  161.          Name            =   "MS Serif"
  162.          Size            =   12
  163.          Charset         =   0
  164.          Weight          =   700
  165.          Underline       =   0   'False
  166.          Italic          =   0   'False
  167.          Strikethrough   =   0   'False
  168.       EndProperty
  169.       ForeColor       =   &H00FF8080&
  170.       Height          =   255
  171.       Left            =   240
  172.       TabIndex        =   19
  173.       Top             =   7800
  174.       Width           =   1575
  175.    End
  176.    Begin VB.Label LblZoom 
  177.       AutoSize        =   -1  'True
  178.       BackColor       =   &H8000000D&
  179.       BackStyle       =   0  'Transparent
  180.       Caption         =   "Zoom"
  181.       BeginProperty Font 
  182.          Name            =   "MS Serif"
  183.          Size            =   12
  184.          Charset         =   0
  185.          Weight          =   700
  186.          Underline       =   0   'False
  187.          Italic          =   0   'False
  188.          Strikethrough   =   0   'False
  189.       EndProperty
  190.       ForeColor       =   &H00FF8080&
  191.       Height          =   285
  192.       Left            =   120
  193.       TabIndex        =   17
  194.       Top             =   6960
  195.       Width           =   645
  196.    End
  197.    Begin VB.Line Line18 
  198.       BorderColor     =   &H00FF8080&
  199.       X1              =   120
  200.       X2              =   1920
  201.       Y1              =   6840
  202.       Y2              =   6840
  203.    End
  204.    Begin VB.Line Line17 
  205.       BorderColor     =   &H00FF8080&
  206.       X1              =   1920
  207.       X2              =   1920
  208.       Y1              =   6840
  209.       Y2              =   5640
  210.    End
  211.    Begin VB.Line Line16 
  212.       BorderColor     =   &H00FF8080&
  213.       X1              =   120
  214.       X2              =   120
  215.       Y1              =   6000
  216.       Y2              =   6840
  217.    End
  218.    Begin VB.Label LblSca 
  219.       Alignment       =   2  'Center
  220.       BackStyle       =   0  'Transparent
  221.       Caption         =   "Scale : 1"
  222.       BeginProperty Font 
  223.          Name            =   "MS Serif"
  224.          Size            =   12
  225.          Charset         =   0
  226.          Weight          =   700
  227.          Underline       =   0   'False
  228.          Italic          =   0   'False
  229.          Strikethrough   =   0   'False
  230.       EndProperty
  231.       ForeColor       =   &H00FF8080&
  232.       Height          =   255
  233.       Left            =   240
  234.       TabIndex        =   16
  235.       Top             =   6480
  236.       Width           =   1575
  237.    End
  238.    Begin VB.Line Line15 
  239.       BorderColor     =   &H00FF8080&
  240.       X1              =   1920
  241.       X2              =   840
  242.       Y1              =   5640
  243.       Y2              =   5640
  244.    End
  245.    Begin VB.Line Line14 
  246.       BorderColor     =   &H00FF8080&
  247.       X1              =   120
  248.       X2              =   840
  249.       Y1              =   6000
  250.       Y2              =   6000
  251.    End
  252.    Begin VB.Line Line13 
  253.       BorderColor     =   &H00FF8080&
  254.       X1              =   840
  255.       X2              =   840
  256.       Y1              =   5640
  257.       Y2              =   6000
  258.    End
  259.    Begin VB.Label LblScale 
  260.       AutoSize        =   -1  'True
  261.       BackColor       =   &H8000000D&
  262.       BackStyle       =   0  'Transparent
  263.       Caption         =   "Scale"
  264.       BeginProperty Font 
  265.          Name            =   "MS Serif"
  266.          Size            =   12
  267.          Charset         =   0
  268.          Weight          =   700
  269.          Underline       =   0   'False
  270.          Italic          =   0   'False
  271.          Strikethrough   =   0   'False
  272.       EndProperty
  273.       ForeColor       =   &H00FF8080&
  274.       Height          =   285
  275.       Left            =   120
  276.       TabIndex        =   14
  277.       Top             =   5640
  278.       Width           =   615
  279.    End
  280.    Begin VB.Line Line12 
  281.       BorderColor     =   &H00FF8080&
  282.       X1              =   120
  283.       X2              =   1200
  284.       Y1              =   3240
  285.       Y2              =   3240
  286.    End
  287.    Begin VB.Line Line11 
  288.       BorderColor     =   &H00FF8080&
  289.       X1              =   1200
  290.       X2              =   1200
  291.       Y1              =   3240
  292.       Y2              =   2880
  293.    End
  294.    Begin VB.Line Line10 
  295.       BorderColor     =   &H00FF8080&
  296.       X1              =   1200
  297.       X2              =   1920
  298.       Y1              =   2880
  299.       Y2              =   2880
  300.    End
  301.    Begin VB.Line Line9 
  302.       BorderColor     =   &H00FF8080&
  303.       X1              =   1920
  304.       X2              =   1920
  305.       Y1              =   2880
  306.       Y2              =   5520
  307.    End
  308.    Begin VB.Line Line8 
  309.       BorderColor     =   &H00FF8080&
  310.       X1              =   1920
  311.       X2              =   120
  312.       Y1              =   5520
  313.       Y2              =   5520
  314.    End
  315.    Begin VB.Line Line7 
  316.       BorderColor     =   &H00FF8080&
  317.       X1              =   120
  318.       X2              =   120
  319.       Y1              =   3240
  320.       Y2              =   5520
  321.    End
  322.    Begin VB.Label LblZTrans 
  323.       Alignment       =   2  'Center
  324.       BackStyle       =   0  'Transparent
  325.       Caption         =   "Z : 0"
  326.       BeginProperty Font 
  327.          Name            =   "MS Serif"
  328.          Size            =   12
  329.          Charset         =   0
  330.          Weight          =   700
  331.          Underline       =   0   'False
  332.          Italic          =   0   'False
  333.          Strikethrough   =   0   'False
  334.       EndProperty
  335.       ForeColor       =   &H00FF8080&
  336.       Height          =   255
  337.       Left            =   240
  338.       TabIndex        =   13
  339.       Top             =   5160
  340.       Width           =   1575
  341.    End
  342.    Begin VB.Label LblYTrans 
  343.       Alignment       =   2  'Center
  344.       BackStyle       =   0  'Transparent
  345.       Caption         =   "Y : 0"
  346.       BeginProperty Font 
  347.          Name            =   "MS Serif"
  348.          Size            =   12
  349.          Charset         =   0
  350.          Weight          =   700
  351.          Underline       =   0   'False
  352.          Italic          =   0   'False
  353.          Strikethrough   =   0   'False
  354.       EndProperty
  355.       ForeColor       =   &H00FF8080&
  356.       Height          =   255
  357.       Left            =   240
  358.       TabIndex        =   12
  359.       Top             =   4440
  360.       Width           =   1575
  361.    End
  362.    Begin VB.Label LblXTrans 
  363.       Alignment       =   2  'Center
  364.       BackStyle       =   0  'Transparent
  365.       Caption         =   "X : 0"
  366.       BeginProperty Font 
  367.          Name            =   "MS Serif"
  368.          Size            =   12
  369.          Charset         =   0
  370.          Weight          =   700
  371.          Underline       =   0   'False
  372.          Italic          =   0   'False
  373.          Strikethrough   =   0   'False
  374.       EndProperty
  375.       ForeColor       =   &H00FF8080&
  376.       Height          =   255
  377.       Left            =   240
  378.       TabIndex        =   11
  379.       Top             =   3720
  380.       Width           =   1575
  381.    End
  382.    Begin VB.Label LblTranslate 
  383.       AutoSize        =   -1  'True
  384.       BackColor       =   &H8000000D&
  385.       BackStyle       =   0  'Transparent
  386.       Caption         =   "Translate"
  387.       BeginProperty Font 
  388.          Name            =   "MS Serif"
  389.          Size            =   12
  390.          Charset         =   0
  391.          Weight          =   700
  392.          Underline       =   0   'False
  393.          Italic          =   0   'False
  394.          Strikethrough   =   0   'False
  395.       EndProperty
  396.       ForeColor       =   &H00FF8080&
  397.       Height          =   285
  398.       Left            =   120
  399.       TabIndex        =   7
  400.       Top             =   2880
  401.       Width           =   1020
  402.    End
  403.    Begin VB.Line Line6 
  404.       BorderColor     =   &H00FF8080&
  405.       X1              =   1920
  406.       X2              =   120
  407.       Y1              =   2760
  408.       Y2              =   2760
  409.    End
  410.    Begin VB.Line Line5 
  411.       BorderColor     =   &H00FF8080&
  412.       X1              =   1920
  413.       X2              =   1920
  414.       Y1              =   2760
  415.       Y2              =   120
  416.    End
  417.    Begin VB.Line Line4 
  418.       BorderColor     =   &H00FF8080&
  419.       X1              =   1920
  420.       X2              =   960
  421.       Y1              =   120
  422.       Y2              =   120
  423.    End
  424.    Begin VB.Line Line3 
  425.       BorderColor     =   &H00FF8080&
  426.       X1              =   960
  427.       X2              =   960
  428.       Y1              =   120
  429.       Y2              =   480
  430.    End
  431.    Begin VB.Line Line2 
  432.       BorderColor     =   &H00FF8080&
  433.       X1              =   120
  434.       X2              =   960
  435.       Y1              =   480
  436.       Y2              =   480
  437.    End
  438.    Begin VB.Line Line1 
  439.       BorderColor     =   &H00FF8080&
  440.       X1              =   120
  441.       X2              =   120
  442.       Y1              =   480
  443.       Y2              =   2760
  444.    End
  445.    Begin VB.Label LblZRot 
  446.       Alignment       =   2  'Center
  447.       BackStyle       =   0  'Transparent
  448.       Caption         =   "Z : 0"
  449.       BeginProperty Font 
  450.          Name            =   "MS Serif"
  451.          Size            =   12
  452.          Charset         =   0
  453.          Weight          =   700
  454.          Underline       =   0   'False
  455.          Italic          =   0   'False
  456.          Strikethrough   =   0   'False
  457.       EndProperty
  458.       ForeColor       =   &H00FF8080&
  459.       Height          =   255
  460.       Left            =   240
  461.       TabIndex        =   6
  462.       Top             =   2400
  463.       Width           =   1575
  464.    End
  465.    Begin VB.Label LblYRot 
  466.       Alignment       =   2  'Center
  467.       BackStyle       =   0  'Transparent
  468.       Caption         =   "Y : 0"
  469.       BeginProperty Font 
  470.          Name            =   "MS Serif"
  471.          Size            =   12
  472.          Charset         =   0
  473.          Weight          =   700
  474.          Underline       =   0   'False
  475.          Italic          =   0   'False
  476.          Strikethrough   =   0   'False
  477.       EndProperty
  478.       ForeColor       =   &H00FF8080&
  479.       Height          =   255
  480.       Left            =   240
  481.       TabIndex        =   5
  482.       Top             =   1680
  483.       Width           =   1575
  484.    End
  485.    Begin VB.Label LblXRot 
  486.       Alignment       =   2  'Center
  487.       BackColor       =   &H8000000D&
  488.       BackStyle       =   0  'Transparent
  489.       Caption         =   "X : 0"
  490.       BeginProperty Font 
  491.          Name            =   "MS Serif"
  492.          Size            =   12
  493.          Charset         =   0
  494.          Weight          =   700
  495.          Underline       =   0   'False
  496.          Italic          =   0   'False
  497.          Strikethrough   =   0   'False
  498.       EndProperty
  499.       ForeColor       =   &H00FF8080&
  500.       Height          =   255
  501.       Left            =   240
  502.       TabIndex        =   4
  503.       Top             =   960
  504.       Width           =   1575
  505.    End
  506.    Begin VB.Label LblRotate 
  507.       AutoSize        =   -1  'True
  508.       BackColor       =   &H8000000D&
  509.       BackStyle       =   0  'Transparent
  510.       Caption         =   "Rotate"
  511.       BeginProperty Font 
  512.          Name            =   "MS Serif"
  513.          Size            =   12
  514.          Charset         =   0
  515.          Weight          =   700
  516.          Underline       =   0   'False
  517.          Italic          =   0   'False
  518.          Strikethrough   =   0   'False
  519.       EndProperty
  520.       ForeColor       =   &H00FF8080&
  521.       Height          =   285
  522.       Left            =   120
  523.       TabIndex        =   0
  524.       Top             =   120
  525.       Width           =   720
  526.    End
  527. Attribute VB_Name = "Remote"
  528. Attribute VB_GlobalNameSpace = False
  529. Attribute VB_Creatable = False
  530. Attribute VB_PredeclaredId = True
  531. Attribute VB_Exposed = False
  532. Private Sub CmdExit_Click()
  533. End Sub
  534. Private Sub Form_Load()
  535. View.Show
  536. Remote.Show
  537. End Sub
  538. Private Sub ScrScale_Change()
  539. LblSca.Caption = "Scale :" + Str$(ScrScale.Value * 0.05)
  540. Sa = ScrScale.Value * 0.05
  541. Change
  542. End Sub
  543. Private Sub ScrScale_Scroll()
  544. LblSca.Caption = "Scale :" + Str$(ScrScale.Value * 0.05)
  545. Sa = ScrScale.Value * 0.05
  546. Change
  547. End Sub
  548. Private Sub ScrXRot_Change()
  549. LblXRot.Caption = "X :" + Str$(ScrXRot.Value)
  550. RotX = ScrXRot.Value
  551. Change
  552. End Sub
  553. Private Sub ScrXRot_Scroll()
  554. LblXRot.Caption = "X :" + Str$(ScrXRot.Value)
  555. RotX = ScrXRot.Value
  556. Change
  557. End Sub
  558. Private Sub ScrXTrans_Change()
  559. LblXTrans.Caption = "X :" + Str$(ScrXTrans.Value)
  560. TransX = ScrXTrans.Value
  561. Change
  562. End Sub
  563. Private Sub ScrXTrans_Scroll()
  564. LblXTrans.Caption = "X :" + Str$(ScrXTrans.Value)
  565. TransX = ScrXTrans.Value
  566. Change
  567. End Sub
  568. Private Sub ScrYRot_Change()
  569. LblYRot.Caption = "Y :" + Str$(ScrYRot.Value)
  570. RotY = ScrYRot.Value
  571. Change
  572. End Sub
  573. Private Sub ScrYRot_Scroll()
  574. LblYRot.Caption = "Y :" + Str$(ScrYRot.Value)
  575. RotY = ScrYRot.Value
  576. Change
  577. End Sub
  578. Private Sub ScrYTrans_Change()
  579. LblYTrans.Caption = "Y :" + Str$(ScrYTrans.Value)
  580. TransY = ScrYTrans.Value
  581. Change
  582. End Sub
  583. Private Sub ScrYTrans_Scroll()
  584. LblYTrans.Caption = "Y :" + Str$(ScrYTrans.Value)
  585. TransY = ScrYTrans.Value
  586. Change
  587. End Sub
  588. Private Sub ScrZoom_Change()
  589. LblZm.Caption = "Zoom :" + Str$(ScrZoom.Value)
  590. Zm = ScrZoom.Value
  591. Change
  592. End Sub
  593. Private Sub ScrZoom_Scroll()
  594. LblZm.Caption = "Zoom :" + Str$(ScrZoom.Value)
  595. Zm = ScrZoom.Value
  596. Change
  597. End Sub
  598. Private Sub ScrZRot_Change()
  599. LblZRot.Caption = "Z :" + Str$(ScrZRot.Value)
  600. RotZ = ScrZRot.Value
  601. Change
  602. End Sub
  603. Private Sub ScrZRot_Scroll()
  604. LblZRot.Caption = "Z :" + Str$(ScrZRot.Value)
  605. RotZ = ScrZRot.Value
  606. Change
  607. End Sub
  608. Private Sub ScrZTrans_Change()
  609. LblZTrans.Caption = "Z :" + Str$(ScrZTrans.Value)
  610. TransZ = ScrZTrans.Value
  611. Change
  612. End Sub
  613. Private Sub ScrZTrans_Scroll()
  614. LblZTrans.Caption = "Z :" + Str$(ScrZTrans.Value)
  615. TransZ = ScrZTrans.Value
  616. Change
  617. End Sub
  618.