Add Forms in BlitzMax
BlitzMax Forums/BlitzMax Beginners Area/Add Forms in BlitzMax
| ||
Hi ive been searching all over the net trying to figure out how to incorporate forms in BltixMax for example username: {-------------} If True open new Form while closing other form if false deny login go back to login form Once user logs in i will have various tabs and other forms that would need to pop up. Any ideas? like in visual basic we would just add what was it called? add.form1 or form1.add and to close it would be like form1.close any ideas? |
| ||
Check out the MaxGUI forum. |
| ||
Okay thankyou |
| ||
These tutorials should really help: http://blitzbasic.co.nz/Community/posts.php?topic=54579 |
| ||
Ive already read that but it doesnt talk about adding forms into forms |
| ||
If True open new Form while closing other form Open a new form is nothing else than using CreateGadget... if it does not yet exist, or ShowGadget... if the for example login window was already created before (recommended) Closing the other form is similar: FreeGadget... if the form is not needed anymore, or HideGadget... if the dialog is may used more often if false deny login go back to login form Show or hide the corresponding windows with all gadgets on top as you need at a certain time Once user logs in i will have various tabs and other forms that would need to pop up. Same thing actually add.form1 or form1.add and to close it would be like form1.close MaxGUI does not come by default with an OOP interface, if you need one have a look at my GUI designer which ads one on top: http://www.blitzmax.com/Community/posts.php?topic=100518 |