SetWindowTitle()

语法

SetWindowTitle(#Window, Title$)
概要
Changes the text which is currently displayed in the window title bar.

参数

#Window The window to use.
Title$ The new title to set.

返回值

无.

Remarks

GetWindowTitle() can be used to get the current window title.

示例

  If OpenWindow(2, 100, 100, 200, 100, "My cool title")
    SetWindowTitle(2, "Even cooler title !")
    
    Repeat
    Until WaitWindowEvent() = #PB_Event_CloseWindow
  EndIf

参阅

GetWindowTitle()

已支持操作系统

所有

<- SetWindowState() - Window Index - SmartWindowRefresh() ->