Home > Common Problem > body text

What does caption mean in VB?

angryTom
Release: 2020-02-11 16:26:31
Original
16080 people have browsed it

What does caption mean in VB?

What does caption in VB mean?

The caption in VB refers to the "title", which is the text displayed on the control.

For example:

label1.caption = "Hello", then the text displayed on the label control label1 is: "Hello"

form1.caption = "Hello ", then the window title is: "Hello"

In Visual Basic 6.0, object-oriented programming method is used to encapsulate the program and data as an object, and each object is a visual of. Developers when designing interfaces. You can directly use the toolbox of Visual Basic 6.0 to "draw" different types of objects such as windows, menus, and command keys on the screen, and set properties for each object. The "caption" above is an attribute of the object. All developers have to do is write code for the object to complete the event process, so the efficiency of programming can be greatly improved.

For more Visual Basic tutorials, please pay attention to PHP Chinese website.

The above is the detailed content of What does caption mean in VB?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
vb
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template