PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.Show
RETURN
**************************************************
*-- Form: form1 (c:\scroll\form1.scx)
*-- ParentClass: form
*-- BaseClass: form
*-- Time Stamp: 08/19/02 07:29:08 PM
*
DEFINE CLASS form1 AS form
DoCreate = .T.
Caption = "Form1"
Name = "Form1"
ADD OBJECT text1 AS textbox WITH ;
Height = 23, ;
Left = 48, ;
Top = 24, ;
Width = 288, ;
Name = "Text1"
ADD OBJECT text2 AS textbox WITH ;
Height = 23, ;
Left = 60, ;
Top = 120, ;
Width = 288, ;
Name = "Text2"
ADD OBJECT commandgroup1 AS commandgroup WITH ;
AutoSize = .F., ;
ButtonCount = 2, ;
Value = 1, ;
Height = 37, ;
Left = 132, ;
Top = 60, ;
Width = 112, ;
Name = "Commandgroup1", ;
Command1.AutoSize = .F., ;
Command1.Top = 5, ;
Command1.Left = 5, ;
Command1.Height = 27, ;
Command1.Width = 50, ;
Command1.Caption = "Copy", ;
Command1.Name = "Command1", ;
Command2.AutoSize = .F., ;
Command2.Top = 5, ;
Command2.Left = 57, ;
Command2.Height = 27, ;
Command2.Width = 50, ;
Command2.Caption = "Paste", ;
Command2.Name = "Command2"
PROCEDURE commandgroup1.Command1.Click
_cliptext = thisform.text1.value
ENDPROC
PROCEDURE commandgroup1.Command2.Click
STORE _cliptext TO thisform.text2.Value
ENDPROC
ENDDEFINE
*
*-- EndDefine: form1
**************************************************