Sign in to follow this  
Followers 0
GaryFrost

Drag Controls on GUI

26 posts in this topic

#1 ·  Posted (edited)

this came about in regards to http://www.autoitscript.com/forum/index.php?showtopic=31660

This is built from part of the GuiBuilder (Thanks CyberSlug)

Here's the test script, I threw a bunch of controls on it just to show that it's not limited to just a couple of controls that can be dragged.

Edit: Grid and Snap to grid options

http://www.autoitscript.com/fileman/users/gafrost/projects/DragControls/DragControls.PNG

Test Script: http://www.autoitscript.com/fileman/users/gafrost/projects/DragControls/Test_Drag.au3

Include file: http://www.autoitscript.com/fileman/users/gafrost/projects/DragControls/DragControls.au3

Grid Image: http://www.autoitscript.com/fileman/users/gafrost/projects/DragControls/background.bmp

Enjoy!!!!

Gary

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites



Just gotta say that this is pretty freakin cool!

Share this post


Link to post
Share on other sites

Works very well! tnx


Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Share this post


Link to post
Share on other sites

@Gafrost THIS IS AWESOME!!!!

Im defintly gonna use this :P


My Scripts:Radioblog Club Music DownloaderOther stuff:Fun movieIm serious read the help file it helps :PFight 'Till you drop. Never stop, You Cant give up. Til you reach the top Fight! you’re the best in town Fight!

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

This is Very nice !

I guess that the (changed) control positions could be saved in a .ini file...

Is there a way to list all controlID's in a Gui ? (something like Winlist, ProcessList...)

Edited by Gyzmok

D2charkeeper = No more 'expired characters' in D2.File Date Changer = Change the file date(s), attributes and the filename case of multiple files @ once.Updater_full = Copy/Update your autoitscripts, pictures, .mp3, .avi etc ... subdirs from your PC to your memory stick or to your external harddisk. Now with scheduling and logging.Questmapper

Share this post


Link to post
Share on other sites

This is Very nice !

I guess that the (changed) control positions could be saved in a .ini file...

Is there a way to list all controlID's in a Gui ? (something like Winlist, ProcessList...)

You could just make all your controls an array :P

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

You could just make all your controls an array :P

Of course ! tnx :nuke:

D2charkeeper = No more 'expired characters' in D2.File Date Changer = Change the file date(s), attributes and the filename case of multiple files @ once.Updater_full = Copy/Update your autoitscripts, pictures, .mp3, .avi etc ... subdirs from your PC to your memory stick or to your external harddisk. Now with scheduling and logging.Questmapper

Share this post


Link to post
Share on other sites

I saw this the other day...

Nice one Gary!!!

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

I saw this the other day...

Nice one Gary!!!

8)

Thanks, I like it. Will have to come up with a project to use it in.


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

This is the bomb, AWESOME JOB.

One thing: a snap to grid option would be cool.

Thanks


[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Share this post


Link to post
Share on other sites

*looks in Gary's sig and finds this :whistle:*

snap to what grid?...

this is great for complicated GUI's I thank you LOTS!


What goes around comes around... Payback's a bitch.

Share this post


Link to post
Share on other sites

*looks in Gary's sig and finds this :whistle:*

snap to what grid?...

this is great for complicated GUI's I thank you LOTS!

like an option to snap to the edges or to every 5 or 10 pixels. what do you think?

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

Share this post


Link to post
Share on other sites

Sounds like a good idea zerocool. Great script gary


My Programs:AInstall - Create a standalone installer for your programUnit Converter - Converts Length, Area, Volume, Weight, Temperature and Pressure to different unitsBinary Clock - Hours, minutes and seconds have 10 columns each to display timeAutoIt Editor - Code Editor with Syntax Highlighting.Laserix Editor & Player - Create, Edit and Play Laserix LevelsLyric Syncer - Create and use Synchronised Lyrics.Connect 4 - 2 Player Connect 4 Game (Local or Online!, Formatted Chat!!)MD5, SHA-1, SHA-256, Tiger and Whirlpool Hash Finder - Dictionary and Brute Force FindCool Text Client - Create Rendered ImageMy UDF's:GUI Enhance - Enhance your GUIs visually.IDEA File Encryption - Encrypt and decrypt files easily! File Rename - Rename files easilyRC4 Text Encryption - Encrypt text using the RC4 AlgorithmPrime Number - Check if a number is primeString Remove - remove lots of strings at onceProgress Bar - made easySound UDF - Play, Pause, Resume, Seek and Stop.

Share this post


Link to post
Share on other sites

Hmm, i don't see an option to save the source... is there one? :">

Click on the links to the au3 files in the 1st post.


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Click on the links to the au3 files in the 1st post.

Oh, no, I guess I misunderstood the purpose, I thought it would save the source to the program for you, but I guess that wouldn't make much sense without custom controls... sorry

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