The GUI interface of the VBS script a concise tutorial on HTA (Network collection and collation) _hta

Source: Internet
Author: User
Tags object model
Author: Shiring
The toolbar, Address bar, and menu bar in the original page are not displayed in this window, and you can use theHTMLThe vast majority of tags, scripts, and so on, which gives you more control over the interface design. (Gosh, how excited I was when I saw this saying, isn't this a GUI interface designed for the VBS script?) )

compared to ordinary HTML pages, it has a hta:application tag, which is actually the tag that provides a series of application-oriented features, this particular tag, Allows you to control the user interface (UI) of this application. <HTA:APPLICATION> tags are located in the <HEAD> tab, which allows you to control whether a title bar is displayed in the contained window, or display the max Minimize button. <HTA:APPLICATION> tags also allow you to access the client's machine without worrying about security restrictions.

Objects:hta:application-necessary tags.

Indicates that the HTML document is an HTA application object Model

ApplicationName Properties-Sets the name of the HTA

Borde Properties-Sets the window border type, the default value is thick

Thick

Specifies that the window is a thick border

dialog window

Specify Window As dialog box

None

Specifies that a window has no border

Thin

Specifies that the window is a narrow border

BorderStyle Properties-Sets the window's border format with the default value of normal

Normal

Normal border

Complex

Bump Format Combo Border

Raised

Protruding 3D border

Static

3D Border

Sunken

Recessed 3D border

Caption Properties-Sets whether the window displays a title bar or caption, and the default is Yes

Icon Properties-Sets the icon for the application.

Maximizebutton Properties-Sets whether the Maximize button is displayed in the window, and the default is Yes.

Minimizebutton Properties-Sets whether the minimized button is displayed in the window, and the default is Yes.

ShowInTaskbar Properties-Sets whether this application is displayed in the taskbar, and the default is Yes.

singleinstance Property-Sets whether this application can be run only once.

This property is identified with the ApplicationName property, and the default value is no.

Sysmenu Properties-Sets whether the system menu is displayed in the window, and the default is Yes.

Version Property-Sets the version of the application and the default value is null.

WindowState Properties-Sets the initial size of the window and the default is normal.

Normal

Default size

Minmize

Minimize

Maximize

Maximize

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.