ShowLibraryViewer()

语法

ShowLibraryViewer([Library$ [, #Object]])
概要
Open the library viewer window or bring it to the front if it is already open. If Library$ is specified then the viewer will show the objects of that library. If an #Object number is specified, then the viewer will display the specified object of that library.

参数

Library$ (optional) The library that should be displayed in the viewer. If this parameter is not specified then the viewer will be opened without displaying a specific library.
#Object (optional) An object of the library to display in the viewer. If this parameter is not specified, then no object is displayed.

返回值

无.

示例

  If CreateImage(0, 200, 200) And StartDrawing(ImageOutput(0))
    DrawingMode(#PB_2DDrawing_Transparent)
    Box(0, 0, 200, 200, RGB(255, 255, 255))
    For i = 1 To 30
      DrawText(Random(200), Random(200), "Hello World!", RGB(Random(255), Random(255), Random(255)))
    Next i
    StopDrawing() 
    
    ShowLibraryViewer("Image", 0)  ; Show the image
    CallDebugger                 ; Halt the program so it does not end right away
  EndIf

参阅

Included debugging tools

已支持操作系统

所有

<- ShowDebugOutput() - Debugger Index - ShowMemoryViewer() ->