ToolBarSeparator()
Syntaxe
ToolBarSeparator()Description
Ajoute un séparateur vertical à la barre d'outils en cours de création. La fonction CreateToolBar() doit avoir été appelée avant d'utiliser cette fonction.
Exemple
If OpenWindow(0, 0, 0, 150, 25, "Barre d'outils", #PB_Window_SystemMenu |#PB_Window_ScreenCentered) If CreateToolBar(0, WindowID(0)) ToolBarStandardButton(0, #PB_ToolBarIcon_New) ToolBarSeparator() ToolBarStandardButton(1, #PB_ToolBarIcon_Open) ToolBarSeparator() ToolBarStandardButton(2, #PB_ToolBarIcon_Save) ToolBarSeparator() ToolBarSeparator() EndIf Repeat Event = WaitWindowEvent() If Event = #PB_Event_Menu Debug "Identifiant de la barre d'outils : "+Str(EventMenu()) EndIf Until Event = #PB_Event_CloseWindow EndIf
OS Supportés
Tous