SetWindowTitle()

Syntaxe

SetWindowTitle(#Fenetre, NouveauTitre$)
Description
Change le texte actuellement affiché dans la barre de titre de la #Fenetre spécifiée.
  If OpenWindow(2, 100, 100, 200, 100, "Titre initial")
    SetWindowTitle(2, "Titre après changement !")
    
    Repeat
    Until WaitWindowEvent() = #PB_Event_CloseWindow
  EndIf
Le titre de la fenêtre est récupérable avec la commande GetWindowTitle().

OS Supportés

Tous

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