ShowModalDialog () and showmodelessdialog () usage

xiaoxiao2021-03-06  40

Usage: ShowModalDialog () Opened window (Abbreviation Mode Window), on the parent window, must be turned off to access the parent window; showModelessDialog () (referred to as a mode window), you do not have to turn off the window to open the parent window after opening.

Window.ShowModelessDialog ("URL", "Name", "parameter: value; parameter: value; ...") ShowModalDialog ('url', 'Dialogname ",' DialogWidth: 400px; DialogHeight: 300px; Dialoglet: 200px; Dialogtop: 150px; center: yes; help: yes; resizable: yes; status: yes') The name of the dialog box can be empty

Scroll: {YES | NO | 1 | 0} Is there a scroll bar status: {yes | no | 1 | 0} Is there a status bar, for the Non-Mode dialog window, the default value is "YES"; for the mode dialog window The default is "NO". Help: {YES | NO | 1 | 0} Specify whether the context-sensitive help icon is displayed in the specified dialog window. The default is "yes". Resizable: Can I use a mouse to change the changing box, 0 means that it is not possible, non-0 means DialogWidth: dialog box width value DialogHeight: dialog box height value Dialogleft: IXPOS Settings dialog window relative to the left corner of the desktop. LEFT position. Dialogtop: The iYPOS Settings dialog window is relative to the top position in the upper left corner of the desktop. Center: {YES | NO | 1 | 0} Specifies whether to place the dialog on the desktop, the default value is "Yes". Edge: {Sunken | Raised} Specifies the style of the box border. Default is raised. Unadorned: {yes | no | 1 | 0 | ON | OFF} Whether to display the border in the dialog box. Only the mode dialog is available. The default is NO. DialoGHide: {YES | NO | 1 | 0 | ON | OFF} Settings dialogs are hidden when printing or printing previews. Only the mode dialog is available. The default is NO.

转载请注明原文地址:https://www.9cbs.com/read-66806.html

New Post(0)