Dropdown GUI menus using G4P
in
Contributed Library Questions
•
7 months ago
I am trying to save desktop space for a GUI Iam building using G4P.
The Idea is to have 5 nice big buttons on a small controlpad but have each of the buttons trigger a drop down menu that has all of the button specific controls within it.
I am trying to see if there is a clever way to accomplish this.
My best possible solution is to have a GUI window and use create window tile feature to make 5 windows that sit exactly on top of each other just below the main window. The idea is that when you select a button on the main window it will make the specific sub window non transparent.
I also thought maybe I could have the sub windows all non transparent but laying behind the main window as to not be visible... when a button is pushed the sub windows position changes 4 pixels at a time in the -Y direction so it drops down into sight... The thing I noticed is that the sub windows seem to be in the foreground not the main one. When I take another window such as notepad and slide it in front of a GUI the main one is covered by it but the sub windows are in front...
I am building a G4P GUI as we speak using the G4P tool but I haven't decide on the best approach ... any ideas or suggestions??
1