A: Picture 1.Cls
B: Picture 1.Picture=LoadPicture(””)
C: Picture 1.Print””
D: Picture 1.Picture””
举一反三
- 要清除已经在图片框Picture中打印的字符串而不清除图片框中的 图像,应使用语句().
- 下列关于图片框控件的语句中不正确的是( ) A: Picture 1.Picture=Picture2.Picture B: Picture1.Picture=LoadPicture("C:\vb60\Arw04Up.ico") C: Picture 1.Print Tab(20);CurrentX.CurrentY D: Picture 1.Stretch=True
- 下列可以把工程文件所在目录下的图形文件pic1.jpg装入图片框Picture1中的语句为( )。 A: Picture1 = LoadPicture(App.Path+"\pic1.jpg") B: Picture.Handle = "pic1 .jpg" C: Picture 1.Picture = LoadPicture("pic1.jpg") D: Picture = "pic1.jpg"
- 在程序代码中清除图片框Picture1 中的图形的正确语句是______ 。 A: Picture1. picture=“” B: Picture1.picture=Loadpicture (“ ”) C: Picture1. image=“” D: Picture1. picture=Null
- 为了在运行时把当前路径下的图形文件picture file.jpg装入图片框Picture1,所使用的语句为Picture1. Picture = LoadPrcture("picture file.jpg")。
内容
- 0
设窗体上有一个Picturel图片框,要求在图片框中的指定位置(坐标为(500,300))输出“OK”,下面可以实现这一功能的事件过程是 A: Private Sub Form_Click() Picture 1.CurrentX=500 Picture 1.CurrentY=300 Picture 1.Print"OK" End Sub B: Private Sub Form_Click() Picturel.Left=500 Picturel.Top=300 Picture 1.Print"OK" End Sub C: Private Sub Form_Click() Picture 1.CurrentX=500 Picture 1.CurrentY=300 Print"OK" End Sub D: Private Sub Form_Click() Picturel.Left=500 Picturel.Top=300 Print"OK" End Sub
- 1
以下选项中,不属于图片框(Picture Box)的属性是()。 A: Align B: Caption C: Picture D: Visible
- 2
设图像框(Image)名称为Image1,则下面语句中正确的是______。 A: Image1. Picture = LoadPicture("pic. jpg") B: Image1. Print "图像框" C: Image1. Picture = "pic. jpg" D: Image1. AutoSize = False
- 3
Suppose that the demand for picture frames is elastic and the supply of picture frames is inelastic. A tax of $1 per frame levied on picture frames will decrease the effective price received by sellers of picture frames by
- 4
为了清除图片框Picture1中的图形,应采取的正确方法是()。 A: 选择图片框,然后按Del键 B: 执行语句Picture1.Picture = LoadPicture("") C: 执行语句Picture1.Picture = "" D: 选择图片框,在属性窗口中选择Picture属性条,然后按回车键