ConsultingJoe Posted May 1, 2006 Share Posted May 1, 2006 I thought it would be a good idea to make a dial control. I have seen a few in some gui's but never heard of them for autoit. I was thinking of using the graphics controls to make it and when you drag up and down the dial rotates. what do you guys think. some functions would include, guidialcreate, guidialset, guidialget, guidialdelete [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] Link to comment Share on other sites More sharing options...
strate Posted May 2, 2006 Share Posted May 2, 2006 I thought it would be a good idea to make a dial control. I have seen a few in some gui's but never heard of them for autoit. I was thinking of using the graphics controls to make it and when you drag up and down the dial rotates. what do you guys think.some functions would include, guidialcreate, guidialset, guidialget, guidialdeleteIf so you might want to follow the naming pattern such as GUICtrlCreateDial, GUICtrlSetDial - you should try and find a way to use GUICtrlSetData instead though. Ihave no use YET for a dial but I feel as though we could use more controls. INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station... Link to comment Share on other sites More sharing options...
ConsultingJoe Posted May 2, 2006 Author Share Posted May 2, 2006 (edited) If so you might want to follow the naming pattern such as GUICtrlCreateDial, GUICtrlSetDial - you should try and find a way to use GUICtrlSetData instead though. Ihave no use YET for a dial but I feel as though we could use more controls.Well, I know I can draw it manualy and all but to do controlset and delete, it would have to be an entire UDF. and I don't know if there is a way to do Vars like $x1 $x2 ...for $i = 1 to 5$x & $i ; to make $x1, $x2next???I think I have given up on this, I have too many other things going on right now, but it would be cool for like Volume control Edited May 2, 2006 by zerocool60544 [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] Link to comment Share on other sites More sharing options...
Lakes Posted May 2, 2006 Share Posted May 2, 2006 Well, I know I can draw it manualy and all but to do controlset and delete, it would have to be an entire UDF. and I don't know if there is a way to do Vars like $x1 $x2 ...for $i = 1 to 5$x & $i ; to make $x1, $x2next???I think I have given up on this, I have too many other things going on right now, but it would be cool for like Volume control same here But certainly possible, using Green Machines Analogue clock code http://www.autoitscript.com/forum/index.php?showtopic=24678 to draw the dial with a pointer.Need to give it a control Id someway.. 2015 - Still no flying cars, instead blankets with sleeves. Link to comment Share on other sites More sharing options...
greenmachine Posted May 3, 2006 Share Posted May 3, 2006 Well, I know I can draw it manualy and all but to do controlset and delete, it would have to be an entire UDF. and I don't know if there is a way to do Vars like $x1 $x2 ...for $i = 1 to 5$x & $i ; to make $x1, $x2next???I think I have given up on this, I have too many other things going on right now, but it would be cool for like Volume controlFor that you would use Assign.While it is possible using direct drawing on the GUI like in my clock, that wouldn't be as reliable or as easy as having a control that would do it. Just being able to rotate controls would satisfy me. Link to comment Share on other sites More sharing options...
ConsultingJoe Posted May 17, 2006 Author Share Posted May 17, 2006 For that you would use Assign. While it is possible using direct drawing on the GUI like in my clock, that wouldn't be as reliable or as easy as having a control that would do it. Just being able to rotate controls would satisfy me.WOW, I never noticed that function. that will make repeditive variable creating easy. ex: for $i = 1 to 100 Assign ( "var" & $i, $i ) next for $i = 1 to 100 msgbox(0,"Variable " & $i & " is:", Eval ("i") ) next Thanks A Lot [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] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now