Jump to content

Help


yMassai

Recommended Posts

WindowTest = guiCreateWindow(350,250,450,320,"Exemplo",false) 
  
guiWindowSetSizable(WindowTest,false)  
guiSetVisible(WindowTest,false) 
  
  
function ShowTest ( ) 
    guiSetVisible ( WindowTest, not guiGetVisible ( WindowTest ) ) 
    showCursor ( not isCursorShowing( ) ) 
end 
bindKey ( "F5","down", WindowTest ) 

Which error?

Why dont show the window?

Link to comment
Guest Guest4401
WindowTest = guiCreateWindow(350,250,450,320,"Exemplo",false) 
  
guiWindowSetSizable(WindowTest,false) 
guiSetVisible(WindowTest,false) 
  
  
function ShowTest ( ) 
    guiSetVisible ( WindowTest, not guiGetVisible ( WindowTest ) ) 
    showCursor ( not isCursorShowing( ) ) 
end 
bindKey ( "F5","down", ShowTest ) 

Link to comment

try;

WindowTest = guiCreateWindow(350,250,450,320,"Exemplo",false) 
  
guiWindowSetSizable(WindowTest,false)  
guiSetVisible(WindowTest,false) 
  
  
function ShowTest ( ) 
    guiSetVisible ( WindowTest, not guiGetVisible ( WindowTest ) ) 
    showCursor ( guiGetVisible ( WindowTest ) ) 
end 
bindKey ( "F5","down", ShowTest ) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...