首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
假定窗体上有一个标签,名为Label。为了使该标签透明并且没有边框,则正确的属性设 置为( )。
假定窗体上有一个标签,名为Label。为了使该标签透明并且没有边框,则正确的属性设 置为( )。
admin
2020-06-30
22
问题
假定窗体上有一个标签,名为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://kaotiyun.com/show/nUHp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
窗体上有一个由两个文本框组成的控件数组,名称为Text1,并有如下事件过程:PrivateSUbText1_Change(IndexAsInteger)SelectCaseIndexCase0Textl(1).FontSize=Te
若要把窗体上命令按钮Commandl的状态设置为不可用,应该执行的命令是
以下关于文件的叙述中,错误的是
在窗体上画一个命令按钮和一个文本框(名称分别为Command1和Text1),并把窗体的KeyPreview属性设置为True,然后编写如下代码:DimSaveAllAsStringPrivateSubForm_Load()Text1.Te
设有下面的语句:PrintIIf(x>0,1,IIf(x
下列程序段的输出结果是x=5Printx+1;x+1
执行以下程序段a$="VisualBasicProgramming":b$="C++"c$=UCase(Left$(a$,7))&b$&RightS(aS,12)变量c$的值为
语句Dima(-3To4,3To6)AsInteger定义的数组的元素个数是
在一个有若干个整数的顺序文件中查找一个数(这个数从文本框中输入),找到后在标签Label1中显示该数是文件中第几个数;如果没找到,则显示文件中没有该数的信息PrivateSubCommand1_Click()DimxAsInteger
公司中有多个部门和多名职员,每个职员只能属于一个部门,一个部门可以有多名职员。则实体部门和职员间的联系是
随机试题
下列各项中,企业应通过“资本公积”科目核算的有()。
人体对辐射不敏感的组织有
抗癫痫药物治疗用药的原则是
活动矫治器的最大不足是
患者,女性,23岁,近一个月来一直觉得周围的任何东西都对她有特殊的暗示,如她走进办公室,就有人哼唱“你就像冬天里的一把火”,意思是骂她勾引异性;她一上街,许多牌照中含有4的汽车开过来,就表示让她死。此患者的症状属于
Untilthen,hisfamily______fromhimforsixmonths.
某老师向学生推销课外辅导资料,要求学生必须购买。该老师的做法()。
根据《党政机关公文处理工作条例》的规定,下列选项说法正确的是()
Someattineantscarryvegetationintotheirnestsandaddfungalmaterial,therebycreating“gardens”inwhichfungalfoodfor
Ifyouwipeafingeracrossahouseholdsurfacethathasn’tbeencleanedinthelastfewdays,chancesareyou’ll【B1】______with
最新回复
(
0
)