PC SOFT

WINDEV的在线文档

文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Opens a new pane in a dynamic Tab control.
例子
NewPaneControl
NewPane<-选项卡打开TAB_DynTab"New document"IW_Document
NewPane..图片="new.png"

语法
 <Result> = 选项卡打开(<Tab Control> , <Caption> [, <Internal Window> [, <Parameter 1> , ... [, <Parameter N>]]])
<Result>: Character string
Alias of the created tab pane. This alias is used to handle the dynamic tab pane.
<Tab Control>: Character string (with or without quotes)
Name of the Tab control to use. If the tab is not dynamic, the function fails and returns a WLanguage error.
<Caption>: Character string (with quotes)
Caption of the button of the created tab pane.
<Internal Window>: Character string (with or without quotes)
Name of the internal window to use in the tab pane. If this parameter is not specified, the default internal window is used (defined in the "Details" tab of the description window or by ..窗口是否为新建).
If the internal window is empty, an empty pane is generated.
<Parameter 1>: Type corresponding to the parameter (optional)
First parameter that must be passed to the internal window. This parameter is passed to the process for declaring the global variables of the internal window.
<Parameter N>: Type corresponding to the parameter (optional)
Nth parameter that must be passed to the internal window. This parameter is passed to the process for declaring the global variables of the internal window.

注意
  • The image associated with the tab pane must can be modified by ..图片. For example:
    TAB_TabAliasName】..图片="xxxx.png"
  • The caption associated with the tab pane can be modified by ..标签. For example:
    TAB_TabAliasName】..标签="Customer xxxx *"
  • The internal window used in the pane can be modified by 改变窗口源. For example:
    改变窗口源TAB_DynTabAliasName】,"MyIW"
  • The alias of the current pane can be retrieved or modified by ..值.
  • To find out the aliases of the opened dynamic panes, all you have to do is call 列举控件 on the Tab pane:
    // Fill a combo box with the list of window controls
    i整数型1
    ResControl字符串型
    ResControl列举控件TAB_MyTabi
    只要ResControl不等于""
    i++
    跟踪ResControl
    ResControl列举控件TAB_MyTabi
    结束

组件
WinDev wd200obj.dll