⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dialog_undocumented.hlp

📁 是一个经济学管理应用软件 很难找的 但是经济学学生又必须用到
💻 HLP
字号:
{smcl}
{* *! version 1.0.0  22jun2005}{...}
{cmd:help dialog_undocumented}{right:also see:  {help undocumented}}
{hline}

{title:Built-in member functions for dialog boxes}

{pstd}
The built-in functions below operate on a dialog resource, otherwise
known as a dialog box.

{pstd}
The built-in functions are

{phang}
{cmd:.Submit}{break}
	Causes the dialog box to submit its current command string to Stata.
	This is equivalent to pressing the {hi:Submit} button on the dialog box.
	
{phang}
{cmd:.GetSubmit}{break}
	By default causes the dialog box to process the u-action associated with
	the {hi:Submit} button and display the contents of the command string.
	Alternatively, the name of a previously declared {cmd:STRING} property
	can be supplied to receive the contents of the command string.
	
{phang}
{cmd:.Ok}{break}
	Causes the dialog box to submit its current command string to Stata and
	close.  This is equivalent to pressing the {hi:Ok} button on the dialog
	box.
	
{phang}
{cmd:.Reset}{break}
	Causes the dialog box to reset.  This is equivalent to pressing the 
	{hi:(R)} button on the dialog box.
	
{phang}
{cmd:.Cancel}{break}
	Causes the dialog box to close.  This is equivalent to pressing the 
	{hi:Cancel} button on the dialog box.
	
{phang}
{cmd:.Execute} {it:executionstring}{break}
	Causes the dialog box to execute some task named specified by 
	{it:executionstring}.  In most cases this is a {cmd:script}
	or {cmd:program} defined in the dialog box.
	
{p 8 8 2}
	{hi:Example:}
	
{p 12 12 2}	
	{it:dlgresource}{cmd:.Execute "program main_hide_controls"}

	
{title:Built-in member functions for dialogs}

{pstd}
The built-in functions below operate on a dialogs, otherwise
known as a dialog tabs.

{pstd}
The built-in functions are

{phang}
{cmd:.setactive}{break}
	Causes a tab to become active.  This is equivalent to clicking
	the button associated with a dialog tab.
	
	
{title:Miscellaneous dialog tools}

{phang}
{cmd:_dialog discard [{it:dlgname}]}{break}
	Causes the dialog specified by {it:dlgname} and all of its class system
	objects	to be destroyed.  If a {it:dlgname} is not specified, all 
	dialogs and their class system objects will be destroyed.


{title:Also see}

    Online:  {help dialog programming}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -