home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 February
/
PCWK0297.iso
/
envelop
/
envelop.6
/
Tools
/
Bootcamp
/
concepts
/
embeded
/
EMBEDED.ETO
< prev
next >
Wrap
Text File
|
1996-07-08
|
2KB
|
50 lines
Type FormEmbed From SampleMasterForm
Dim Label1 As New Label
Dim Label2 As New Label
Dim Label3 As New Label
Dim Image1 As New Image
Dim Image2 As New Image
Dim Image3 As New Image
End Type
Begin Code
' Reconstruction commands for object: FormEmbed
'
With FormEmbed
.Caption := "Embed Object Sample"
.Move(2205, 1875, 13005, 6825)
With .Label1
.Caption := "This Label control has its own nested embedded Font. The other Labels on this Form share a simple embedded Font in the Form."
.ZOrder := 6
.Move(300, 300, 11070, 1050)
End With 'FormEmbed.Label1
With .Label2
.Caption := "This Image control below has its own nested embedded Bitmap."
.ZOrder := 5
.Move(300, 1500, 4200, 450)
End With 'FormEmbed.Label2
With .Label3
.Caption := "The two Image controls shown below share a simple embedded Bitmap in the Form."
.ZOrder := 4
.Move(4650, 1500, 6750, 450)
End With 'FormEmbed.Label3
With .Image1
.Caption := "Image1"
.ZOrder := 3
.Move(300, 2100, 3900, 3750)
End With 'FormEmbed.Image1
With .Image2
.Caption := "Image2"
.ZOrder := 2
.Move(4650, 2100, 3900, 3750)
End With 'FormEmbed.Image2
With .Image3
.Caption := "Image3"
.ZOrder := 1
.Move(8700, 2100, 3900, 3750)
End With 'FormEmbed.Image3
With .helpfile
End With 'FormEmbed.helpfile
End With 'FormEmbed
End Code