Properties and descriptions of forms for VB forms

Source: Internet
Author: User
Tags manual

Put the winter vacation stay at home, my father prefers some things in the book of Zhouyi, so asked if I can help him to write a small program to Suangua. I think to find out if the use of C language directly out of the page is too simple, more beautiful words need some API, and Java has not used a very unfamiliar. Finally I think of using VB to make, found that VB to write some small program is very convenient. Here I have organized some of the window properties of the introduction, as follows

Name of the form

ActiveControl returns the control that contains the focus, which is not available at the design stage and is read-only at run time.

Appearance appearance effect, value is: 0 plane 1 3D (stereoscopic)

AutoRedraw whether to automatically refresh or redraw all graphics on the form [get or set from drawing

(graphics) method to the output of a persistent bitmap], with the value: True False

BackColor background color can be selected from the pop-up palette.

BorderStyle set the boundary type with a value of: 0 None (Borderless frame) 1 fixedsingle (window size fixed single-line frame) 2 sizable (window size variable standard two-wire frame) 3 fixeddialog (Window Size Fixed dialog form) 4 Fixedtoolwindow (Window-size-fixed toolbox form) 5 sizable toolwindow (window-sized toolbox form)

Caption the title of the form

Clipcontrols determines whether the graphics method of the Paint event is to repaint the entire object or redraw the newly displayed area. Evaluates to: True or False

ControlBox is or has a control box, the value is: True has false no

DrawMode set the output appearance of the drawing (graphics method) on the form, Shape,line and other controls, there are 16 options: 1 Black 2 non-or pen, set the inverse of the value 15 3 and non-pen, background color and brush inverse of the combination of the color of the 4 non-duplicated pen, set the value of 13 reversed phase 5 combination of color with pen non, brush and display color 6 inverting, display color inverted 7 xor pen, brush color and display color XOR 8 not with pen, set value 9 with reversed phase 9 with pen, brush and display color combination of the two colors 10 non-XOR pen, set value 7 of the reversed phase 11 no action, This setting is actually not drawing 12 or not a pen, a combination of display color and brush color reversed 13 copy pen, with the ForeColor property specified by the color, this is the default value 14 or pen non, brush color and display color inverted combination of 15 or pen, brush color and display color combination 16 White

DrawStyle set the line style used for drawing related methods, there are 7 kinds of optional: 0 solid line, this is the default value 1 dashed 2 dot line 3 single dot dash 4 double dot dash 5 wireless 6 internal solid line

DrawWidth Setting the line width for drawing-related methods enabled is or sends a mouse or keyboard event to the form, with a value of: True available false not available

FillColor fill color, which can be selected from the pop-up palette.

FillStyle fill style, there are 8 options: 0 Full padding 1 Transparent, this is the default value 2 horizontal line 3 vertical line 4 diagonal diagonal 5 Diagonal Diagonal 60 Line 7 cross Diagonal

font fonts, which can be selected from the Pop-up dialog box, size and style

Fonttransparent whether the output data is allowed to overlap (Gets or sets a value that determines whether to display background text/graphics on a form, printer, or PictureBox). Evaluates to: True or False

ForeColor foreground color, which can be selected from the pop-up palette.

HASDC determines whether a unique display context is assigned to the control. Evaluates to: True or False

Height of high form

HELPCONTEXTID Specifies the default Help file context identifier for an object

Icon for the form design, which is located on the left side of the title bar

Keyprevier Gets or sets whether the object keyboard event is first activated before the keyboard event of the control on the active object is activated. Evaluates to: True or False

The distance from the left edge of the screen

LinkMode Gets or sets the type of link used for the DDE session and activates the connection with a value of: 0 None1

Sourcelinktopic Get or set the source application and theme for the target control

Maxbutton the top right corner of the form is displayed, the runtime is read-only, and the value is: True to show false does not display

MDIChild is a subform of an MDI form, with a value of: true to the subform of the MDI form False no Minbutton the top right corner of the form the minimized button is displayed, the runtime is read-only, and the value is: True to show false does not display

MouseIcon mousepointer=99, set a custom mouse icon

Mousepointermoveable whether the form can be moved, the value is: True can move false cannot be moved

NegotiateMenus determines whether the menu of the object is merged into the menu bar of the form. Evaluates to: True or False

OLEDropMode Gets or sets whether the object can be dropped as an OLE target, with a value of: 0 None (None) 1 Manual (manual)

Palette Gets or sets an image that contains the object used for the palette when PaletteMode is set to custom.

PaletteMode Gets or sets a value that determines which palette to use for the control of the object. Values are: 0 Halftone1 UseZOrder2 Custom

Picture form background Image

RightToLeft whether text is written from left to right. Value: TrueFalse from right to left

ScaleHeight the height of the ordinate axis of a custom coordinate system

ScaleLeft the horizontal axis of the left boundary starting point of a custom coordinate system

ScaleMode Gets or sets a value indicating that, when using the graphics method or a relocatable control, there are 8 options for customizing the coordinate system units: 0 Custom 1 is expressed in Twip (twips), per inch = 1440 twips, and per centimeter = 567 twips 2 Indicates the unit is point (points), per inch = 72 lbs, per pound = 20 twips 3 is the unit of pixels, is the minimum unit 4 of the monitor or printer resolution is the unit character, each horizontal unit is 120 twips, each vertical unit is 240 twips 5 means units in (inches) 6 is expressed in mm (mm) 7 is in cm (cm)

ScaleTop ordinate of the upper boundary starting point of a custom coordinate system

ScaleWidth width of the horizontal axis of a custom coordinate system

ShowInTaskbar whether the form or MDI form appears in the Windows95 taskbar. Value is: True false does not appear

StartUpPosition the first occurrence of the form, there are 4 types of options available:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.