首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
假定窗体上有一个标签,名为Label。为了使该标签透明并且没有边框,则正确的属性设 置为( )。
假定窗体上有一个标签,名为Label。为了使该标签透明并且没有边框,则正确的属性设 置为( )。
admin
2013-10-17
44
问题
假定窗体上有一个标签,名为Label。为了使该标签透明并且没有边框,则正确的属性设 置为( )。
选项
A、Labell.BackStyle=0
Label 1.BorderStyle=0
B、Labell.BackStyle=1
Label 1.BorderStyle=1
C、Label 1.BackStyle=True
Labell.BorderStyle=True
D、Label 1.BackStyle=False
Label 1.BorderStyle=False
答案
A
解析
标签控件的BackStyle属性是设置背景,当BackStyle属性值设置为0时,则标签为“透明”的,当BackStyle属性值设置为1时,则标签为将覆盖背景;标签控件的BorderStyle属性是设置标签的边框,当BorderStyle属性值设置为0时,则标签无边框,当BorderStyle属性值设置为1时,则标签有边框。因此选项A正确。
转载请注明原文地址:https://jikaoti.com/ti/RN60FFFM
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
在考生文件夹中有一个工程文件execise98.vbp及窗体文件execise98.frm。在名为Form1的窗体上有1个组合框Com1,其中已经预设了内容;还有1个文本框Text1,和3个命令按钮(名称分别为Cmd1、Cmd2和Cmd3,标题分别为“修改
在考生文件夹中有工程文件execise110.vbp及窗体文件execise110.frm。如下图所示,在名为Form1的窗体上有一个Labe1控件,4个Text控件及7个命令按钮,其功能如下,(1)开始启动工程时,界面上除Input及Quit按钮
在名为Form1的窗体上,绘制一个名为Text1的文本框。设置文本框属性,在文本框中显示“文本框”;再建立一个名为Cmd1,标题为Clear的命令按钮,如下图所示。编写适当的事件过程,使程序运行后,若单击Clear命令按钮,则清除文本框中所显示的信息。
在Form1的窗体上绘制一个列表框,名为Lab1,通过属性窗口向列表框中添加4个项目,分别为lteln1、Item2、Item3和Item4。编写适当的事件过程,使程序运行后,若双击列表框中的某一项,则把该项添加到列表框中。程序的运行情况如下图所示。
在名为Form1的窗体上建立一个名为List1的列表框(如下图所示)。编写适当的事件过程,使在程序运行后,通过FormLoad()事件过程加载窗体时,执行语句List1.Addltem”Item";单击某个列表项时,执行语句List1.AddltemLi
在Form1的窗体上绘制一个图片框,其名称为Pic1。编写适当的事件过程,使程序运行后,若单击窗体,则从图片框的(250,500)位置处开始显示VisualBasic。程序运行情况如下图所示。注意:程序中不得使用任何变量;文件必须存放在
结构化分析方法SA、结构化设计方法SD;和JACKSON方法,是在软件开发过程中常用的方法,人们使用SD方法时可以得到______。
软件工程是计算机科学中的一个分支,其主要思想是在软件生产中用【】的方法替代传统手工方法。
在VisualBasic中传递参数的方法有______方式。
设a=2,b=3,c=4,d=5,下列表达式的值是Nota<=COr4*c=b^2Andb<>a+c
随机试题
患者,女,72岁。患中风,伴半身不遂、偏身麻木、言语不利,医师根据患者病情开具益气活血、通络止痛的中药汤剂(人参、土鳖虫、水蛭、赤芍、乳香、降香、檀香、全蝎、蜈蚣、冰片、蝉蜕、酸枣仁)。服药10天后患者出现恶心、呕吐、气短、血压下降、溶血性贫血、酱油尿、黑
矿业工程成本管理,不可作为竞争性费用的是()。
受托人委托保管企业年金基金财产的商业银行或专业机构,我们习惯上称之为()。
家庭社会工作的一般性任务是什么?()
矛盾的普遍性与特殊性是矛盾的两种基本属性。()
论述情绪理论中的拉扎勒斯的认知-评价理论。
主张课程设置首先要考虑的是国家和民族的利益的课程流派是()。
全日制普通教育属于()。
有函数模板声明和一些变量定义如下:template<classT1,classT2,classT3>T1sum(T2,T3);doubledl,d2;则下列调用中,错误的是()。
请在“答题”菜单中选择相应的命令,并按照题目要求完成下面的操作。注意:以下的文件必须保存在考生文件夹下。在考生文件夹下打开文档word.docx,按照要求完成下列操作并以该文件名保存文件。按照参考样式“word参考样式.gif”完成设置和制作。设
最新回复
(
0
)