yMassai Posted June 23, 2012 Posted June 23, 2012 Could someone tell me which function I use to bring up a window on top of another. Community Profile MTA:SA = Click Here
Callum Posted June 23, 2012 Posted June 23, 2012 Use; guiSetProperty(guiWindow,"AlwaysOnTop","True") Where guiWindow is your window element (and yes, "True" should be a string). Retired
Castillo Posted June 23, 2012 Posted June 23, 2012 You can use: guiBringToFront as well. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
yMassai Posted June 23, 2012 Author Posted June 23, 2012 if (source == buttonAlterar) then guiSetVisible ( JanelaSec, true ) showCursor ( true ) guiBringToFront ( JanelaSec ) this? Community Profile MTA:SA = Click Here
Castillo Posted June 23, 2012 Posted June 23, 2012 That's correct. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
50p Posted June 23, 2012 Posted June 23, 2012 if (source == buttonAlterar) then guiSetVisible ( JanelaSec, true ) showCursor ( true ) guiBringToFront ( JanelaSec ) this? Tested? Why don't you try and see? The best way to learn is to try. People learn by trial and error. "Learning doesn't happen from failure itself but rather from analyzing the failure, making a change, and then trying again." - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
yMassai Posted June 23, 2012 Author Posted June 23, 2012 You do not need failure to learn, only the certificate that is doing the right thing is a good beginning. Community Profile MTA:SA = Click Here
Castillo Posted June 23, 2012 Posted June 23, 2012 I actually learned like 50p said. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Callum Posted June 23, 2012 Posted June 23, 2012 Perhaps I misread the topic - I thought you wanted it to stay in front of the other windows. Nonetheless, you would use guiSetProperty in that case. Retired
Anderl Posted June 23, 2012 Posted June 23, 2012 You do not need failure to learn, only the certificate that is doing the right thing is a good beginning. I don't think so. -- I learned and I still learn in the way 50p said too. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now