Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Windows made from Window.Open
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Pickles




PostPosted: Thu Jun 03, 2004 6:36 pm   Post subject: Windows made from Window.Open

Ok basically, instead of doing View.Set or what not im openining the windows with Window.Open, but if you click outside the window (usually onto the program in turing editor it then opens up the run window for that file. Is there a way to make it so that when you click outside the window, nothing happens just like it normally would with any other window.
Sponsor
Sponsor
Sponsor
sponsor
awesomej01




PostPosted: Thu Jun 03, 2004 6:56 pm   Post subject: (No subject)

I think you would use the commands Window.GetActive or Window.SetActive. I'm not pretty sure how to use them though check the [F9] manual on Turing.
Andy




PostPosted: Thu Jun 03, 2004 8:38 pm   Post subject: (No subject)

yea i had the same problem last year.. however your problem does not apply to all cases.. for me it only occurs if im using gui. and i dont believe there are any ways to avoid this
Delta




PostPosted: Fri Jun 04, 2004 1:22 pm   Post subject: (No subject)

That's just how windows is dude. You click on a different window, it's gonna be the active one. Why would ppl click outside of it unless they wanted out?

Maybe try something like this.

code:
if Window.GetActive (mainWnd) = false then
Window.SetActive (mainWnd)
end if


mainWnd = the name of your window (variable)
if that doesn't work... well I dunno, your on your own
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: