CloseHelp()
Syntaxe
CloseHelp()Description
Ferme la fenêtre d'aide préalablement ouverte avec OpenHelp().
Arguments
Aucun.
Valeur de retour
Aucune.
Exemple
If OpenWindow(0, 0, 0, 220, 150, "Exemple...", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
StickyWindow(0,#True)
ButtonGadget (0, 10, 10, 200, 30, "Aide")
ButtonGadget (1, 10, 60, 200, 30, "Aide DrawingMode()")
ButtonGadget (2, 10, 110, 200, 30, "Fermer l'aide")
Repeat
Event = WaitWindowEvent()
Select Event
Case #PB_Event_Gadget
Select EventGadget()
Case 0
OpenHelp(#PB_Compiler_Home + "PureBasic.chm","")
Case 1
OpenHelp(#PB_Compiler_Home + "PureBasic.chm","2ddrawing/drawingmode.html")
Case 2
CloseHelp()
EndSelect
EndSelect
Until Event = #PB_Event_CloseWindow
EndIf
Voir aussi
OpenHelp()
OS Supportés
Tous