ShowLibraryViewer()

Syntax

ShowLibraryViewer([Library$ [, #Object]])
Description
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.

Example:

  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

Supported OS

All

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