GetScreenTitle$
ScreenTitle$ = GetScreenTitle$()
 
Parameters: NONE
Returns:

    ScreenTitle$ = The Title String from the window
 

      GetScreenTitle$() reads the title bar string from the PlayBASIC screen.



FACTS:


      * Only works in windowed mode.




Mini Tutorial:


Create a windowed screen, title it "JimBob is the best" and then read/display this information back to the user.


  
  
; Open a windowed screen mode of 640x,480y, 16 bit colour
  OpenScreen 640,480,16,1
  
; Set the Title Bar of the screen
  TitleScreen "JimBob is the best"
  
; Read what the screen title is
  Print "Current ScreenTitle is:"+GetScreenTitle$()
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  




This example will display.

  
  Current ScreenTitle is: JimBob is the Best
  




 
Related Info: CloseScreen | OpenScreen | TitleScreen :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com