Sign in to follow this  
Followers 0
MajSlayer420

Want to add FILE option to the top of my GUI

4 posts in this topic

Hello I want to make my program able to save the current settings to a file.

How do I add a FILE option with the normal goodies . like save and save as. ect.ect?

Thanks

MajSlayer420

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hello I want to make my program able to save the current settings to a file.

How do I add a FILE option with the normal goodies . like save and save as. ect.ect?

Thanks

MajSlayer420

Why not try using an INI file to save your settings try using the IniWrite(). Many options with that and other functions that start with INI. :whistle:

Edit:

Or if you are trying to get a save as dialog try FileSaveDialog.

Edited by EndFunc

EndFuncAutoIt is the shiznit. I love it.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Hey MajSlayer420 a good place to start for what your after,

Have a look in the Help File under Function Reference -> GUI Control Creation

GUICtrlCreateMenu()

GUICtrlCreateMenuitem()

That's for creating file menus at the top of your gui.

Also look in the Help File under Function Reference ->File Directory And Disk Management

FileSaveDialog()

IniWrite()

IniWriteSection()

That's for saving your settings.

Cheers

Edited by smashly

Share this post


Link to post
Share on other sites

Thanks guys. I figured it was built in..

Y'all the best

MajSlayer420

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0