Getting the Opening GUI?
Author |
Message |
Fexter
|
Posted: Tue Nov 15, 2011 8:56 pm Post subject: Getting the Opening GUI? |
|
|
What is it you are trying to achieve?
I want to get an open GUI, which would be like the ones that you get whenever you hit Open or Save on a lot of Software, such as what you get with Turing.
What is the problem you are having?
The GUI for making the open box doesn't seem to be included.
Describe what you have tried to solve this problem
I've tried checking for other ways to get the GUI, but haven't found any ways to do it (Other than creating my own, which would take a large amount of code).
Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Please specify what version of Turing you are using
I am using version 4.1.0 as well as 4.1.1. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Aange10
|
Posted: Tue Nov 15, 2011 9:02 pm Post subject: RE:Getting the Opening GUI? |
|
|
Reading http://compsci.ca/v3/viewtopic.php?t=3583 will explain Turing's built in GUIs.
However, if I were you I'd manually draw the buttons, and code a couple of lines of code to see if the mouse clicked inside the button |
|
|
|
|
|
Fexter
|
Posted: Tue Nov 15, 2011 9:07 pm Post subject: RE:Getting the Opening GUI? |
|
|
@Aange
I know about the buttons, but is there anyway that I wouldn't have to use those to create an open dialog like you would see from hitting open on Turing? |
|
|
|
|
|
Aange10
|
Posted: Tue Nov 15, 2011 9:28 pm Post subject: RE:Getting the Opening GUI? |
|
|
What do you mean an open dialog like I'd see from hitting open on Turing?
You mean what actually pops up when I go to File> Open? |
|
|
|
|
|
Fexter
|
Posted: Tue Nov 15, 2011 9:49 pm Post subject: RE:Getting the Opening GUI? |
|
|
Ya, something like that. |
|
|
|
|
|
Aange10
|
Posted: Tue Nov 15, 2011 10:11 pm Post subject: RE:Getting the Opening GUI? |
|
|
I'm not really sure >..< You'll have to wait for Tony or Dan to come explain it.
But do remember nothing 'just happens'. There is no 'what pulls up this window?'. As hard as it is to grasp sometimes, everything is programmed. Nothing figured out what that window was, and magically drew it. Somebody layed it out nice and neat, and linked the data to the layout.
But, on how to call this information, you'll have to wait for somebody smarter than me to respond . Zren, Mag, Dan, Tony, Gandalf, WTD, Insectoid... Those guys have your answer |
|
|
|
|
|
Fexter
|
Posted: Tue Nov 15, 2011 10:16 pm Post subject: RE:Getting the Opening GUI? |
|
|
Alright, thanks.. |
|
|
|
|
|
Tony
|
Posted: Wed Nov 16, 2011 4:02 am Post subject: RE:Getting the Opening GUI? |
|
|
looking at the documentation, it seems that those functions are simply not implemented in the library. There are enough basic tools (i.e. dirmodule) to build this functionality yourself.
Although -- see if this function is available in Turing 3.1; maybe you can grab the library from that version, if the functionality works (just a guess). |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
|
Sponsor Sponsor
|
|
|
|
|