Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » MobiLink - 客户端管理 » 用于 MobiLink 的 SQL Anywhere 客户端 » Dbmlsync 集成组件(不建议使用) » Dbmlsync 集成组件的事件

 

SetTitle 事件

当状态信息更改时,会触发 SetTitle 事件。在 dbmlsync 实用程序中,此信息显示在标题栏中。

语法
Public Event SetTitle( ByVal title ) As String
)
Member of DbmlsyncCOM.Dbmlsync
参数

title   dbmlsync 窗口标题栏中的标题。

注释

您可以使用此事件接收通常显示在 dbmlsync 窗口中的标题(在其值更改时)。

示例

下面的 Visual Basic .NET 示例在触发 SetTitle 事件时设置 Windows 窗体的标题。

Private Sub dbmlsync1_SetTitle(
 ByVal title As String
)
Handles dbmlsync1.SetTitle

        Me.Text = title

End Sub