The extension of the form file is ".frm". The saved space attributes are divided into two parts. One part can be represented by strings and is stored in a file with the extension Frm; the other part cannot be represented by strings and is stored in a file with the same name as Frm but with an extension of Frx. in a binary form file.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
VB stipulates that the extension of form files is .frm
In a project folder, in addition to form files, the extension also includes . vbp project file, source file with extension .SCC.
#The form file is the form you see when you run the program. The saved space attributes are divided into two parts.
Part of it can be represented by strings, such as strings, numbers, etc., and is stored in a file with the extension Frm; the other part cannot be represented by strings, such as pictures, and is stored in a file with the extension FRM. Frm has the same name, but is a binary form file with the extension Frx.
Extended information:
Common properties
The following introduces the common properties of text boxes.
(1) Text property
Set the text content displayed in the control. Its usage syntax is as follows:
text1.Text[=字符串]
(2) MaxLength attribute
Set whether there is a limit to the length of the string entered in the text box. The default value is 0, which means that the length of the string in the single-line text box is only limited by the operating system memory; if it is set to a number greater than 0, it means the maximum number of characters that can be input.
(3)MultiLine property
Set whether the text box displays text in multiple lines. When set to True, it is displayed in multi-line text mode; when set to False (default), it is displayed in single-line mode, and the part that exceeds the width of the text box is truncated. Its usage syntax is as follows:
text1.MultiLine [=True或False]
(4) PasswordChar attribute
Set whether to display the characters typed by the user in the control. If this property is set to a certain character, no matter what the value of the Text property is, only that character will be displayed in the text box. Additionally, for this property to be effective, the MultiLine property must be set to False.
(5)ScrollBars property
Set whether the text box has a vertical or horizontal scroll bar. Its usage syntax is as follows:
text1.ScrollBars[=值]
The "value" can be 0, 1, 2, 3.
0 (default value) means there is no scroll bar;
1 means there is a horizontal scroll bar;
2 means there is a vertical scroll bar;
3 means there is a vertical scroll bar There are horizontal and vertical scroll bars.
In addition, for this property to be effective, the MultiLine property must be set to True.
(6) SelLength, SelStart and SelText properties
SelLength returns/sets the selected number of characters.
SelStart returns/sets the starting point of the selected text.
SelText returns/sets the string containing the currently selected text.
For more computer-related knowledge, please visit the FAQ column!
The above is the detailed content of The extension of the form file is. For more information, please follow other related articles on the PHP Chinese website!