lookfar Posted July 14, 2005 Author Posted July 14, 2005 (edited) hm, when do you upload the enw version? the one on the page is from december o.O... r only the readme file is veery old... ^^<{POST_SNAPBACK}>Your probably looking at AutoEd. (which I have not worked on since then)Download the FormDesigner which is a separate application Edited July 14, 2005 by lookfar Get the latest version of AutoEd and Koda FormDesigner here
Lord_Doominik Posted July 14, 2005 Posted July 14, 2005 yes... but your formdesigner is quite well... but i hope you'll look forward to autoed and formdesigner and combine it in an good editor with this feature...
Stumpii Posted August 14, 2005 Posted August 14, 2005 FormDesigner looks really cool. Thanks for developing it!A couple of requests:1) Is it possible to make this an IDE with dockable windows, rather than floating windows? I don't know what language you have written it in, but there is a free dockable code library that I use quite often called DockPanelSuite. Take a look and see if would be useful.2) If (1) is not possible, then could you make the title window sizable? That way some existing AutoIt code could be used to maximise the main window and forcibly dock the other windows to it.3) Could you add a feature so that only the selected text will be copied to the clipboard once the code is generated. That way, once the user has programmed code within the 'While 1 .... Wend' code, they can select only the lines for the controls and paste it into the code, leaving the bits that they already have. “Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.”AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity.
therks Posted August 14, 2005 Posted August 14, 2005 One suggestion, I notice that you are adding the styles together. This can cause problems in complicated code. Try BitORing them together instead. ex: GuiCreate("Button", 0, 0, 0,0 ,$WS_OVERLAPPEDWINDOW + $WS_CLIPSIBLINGS) change to: GuiCreate("Button", 0, 0, 0,0 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS)) My AutoIt Stuff | My Github
lookfar Posted August 14, 2005 Author Posted August 14, 2005 FormDesigner looks really cool. Thanks for developing it!A couple of requests:1) Is it possible to make this an IDE with dockable windows, rather than floating windows? I don't know what language you have written it in, but there is a free dockable code library that I use quite often called DockPanelSuite. Take a look and see if would be useful.2) If (1) is not possible, then could you make the title window sizable? That way some existing AutoIt code could be used to maximise the main window and forcibly dock the other windows to it.3) Could you add a feature so that only the selected text will be copied to the clipboard once the code is generated. That way, once the user has programmed code within the 'While 1 .... Wend' code, they can select only the lines for the controls and paste it into the code, leaving the bits that they already have.<{POST_SNAPBACK}>Keep in mind the current version is a prototype.1) Yes, Dock is on the list. I prefer that method also.2) Window positions will be saved to end user preference.3) The whole program will change but in the meantime you may select what you wish and use the context menu to copy/paste from generated code.thank you for your kind words. Get the latest version of AutoEd and Koda FormDesigner here
lookfar Posted August 14, 2005 Author Posted August 14, 2005 One suggestion, I notice that you are adding the styles together. This can cause problems in complicated code. Try BitORing them together instead.ex: GuiCreate("Button", 0, 0, 0,0 ,$WS_OVERLAPPEDWINDOW + $WS_CLIPSIBLINGS)change to: GuiCreate("Button", 0, 0, 0,0 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))<{POST_SNAPBACK}>Ok I will change that. I know very little about AutoIt scripting, just what I have picked up here and from the help file. I haven't got much feedback on the generated code so thanks for that.I will make it extensable so that templates may be used in place of hard coding. Get the latest version of AutoEd and Koda FormDesigner here
kjactive Posted August 14, 2005 Posted August 14, 2005 (edited) FormDesigner looks as a real cool project and what autoit3 gui needs like with controls parametre right by ones fingertips - nice job... I see some problems in the script model, the runtime selective process area in the script would get ruined by an intuition edit - I would suggest that this while / WEnd code only get processed as an option and all intuitions get moved to functions as window1 2 etc. One thing that could be nice someway in future would to attach a macro language to FD and to be able to create macros to interface common actions here... There are some special action commands and fixed functions attached to autoit3 that I would like got included like OnExitFunc, GUIResizeMode and #NoTrayIcon etc. maybe should FD start with a project init option... Real nice application - great work kjactive Edited August 14, 2005 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc...
lookfar Posted August 20, 2005 Author Posted August 20, 2005 (edited) Added: ListView ( with visual columns designer and Listview Items designer) How to.... To create a ListView: Drop a Listview component on the form, goto Object Inspector,click "ViewStyle" and change to vsReport click on Columns ("collection") and as a test click the "New" button highlight the newly created TListItem and in the object inspector under caption enter "Name" , repeat for "address" and "phone" You should now have a ListView with three columns named " Name, Address, Phone". Next click "Items" and in the Items Designer click "new Item" (enter a name) then "New sub Item" (enter street), "New SubItem" (enter phone num) you should now have under each column a name,address and phone. repeat for more Items... note: when adding columns you can right click to refresh objects. btw: delphi source code is available by request for those interested in helping with this project. will compile with D6 personal (free from borland) Edited August 20, 2005 by lookfar Get the latest version of AutoEd and Koda FormDesigner here
wiredbits Posted August 20, 2005 Posted August 20, 2005 Hi First off your program Formdesigner is great (will look at AutoEd later). Now a few things I have noticed : 1.) controls/objects are not aligned relative to group box in generated code. 2.) no controls/objects show up when I load a saved form. I have only played with Formdesigner for about an hour so both problems might just be me. Thanks Jim
lookfar Posted August 20, 2005 Author Posted August 20, 2005 Hi First off your program Formdesigner is great (will look at AutoEd later). Now a few things I have noticed :1.) controls/objects are not aligned relative to group box in generated code.2.) no controls/objects show up when I load a saved form. I have only played with Formdesigner for about an hour so both problems might just be me.Thanks Jim<{POST_SNAPBACK}>1. this is a problem in groupbox and PageControl (tabbed page) FormDesigner is Object Oriented while AutoIt is not. FormDesigner controls inherit from parent while AutoIt controls coordinates are based off the main form...for now your on your own2. it's a work in progress3. Have Fun! Get the latest version of AutoEd and Koda FormDesigner here
forever Posted August 21, 2005 Posted August 21, 2005 hi lookfar, very nice work. But just one question, when can we expect tab-creation support? I really would love that one.
wiredbits Posted August 21, 2005 Posted August 21, 2005 1. this is a problem in groupbox and PageControl (tabbed page) FormDesigner is Object Oriented while AutoIt is not. FormDesigner controls inherit from parent while AutoIt controls coordinates are based off the main form...for now your on your own2. it's a work in progress3. Have Fun!<{POST_SNAPBACK}>Hi Thanks for the reply. I will change the hard coded parameters in generated code to CONSTs and use offsets, no biggie. Again great program. Jim
lookfar Posted August 21, 2005 Author Posted August 21, 2005 Hi Thanks for the reply. I will change the hard coded parameters in generated code to CONSTs and use offsets, no biggie. Again great program. Jim<{POST_SNAPBACK}>I'm interested to know how you do that ? Get the latest version of AutoEd and Koda FormDesigner here
lookfar Posted August 21, 2005 Author Posted August 21, 2005 (edited) hi lookfar,very nice work. But just one question, when can we expect tab-creation support? I really would love that one.<{POST_SNAPBACK}>It's done I just need to copy the procedures from the testing code over. so in the next day or so.edit: I was wondering if anyone has tested out the ListView control with the Columns Editor and Items Editor and how you find the use of... Edited August 21, 2005 by lookfar Get the latest version of AutoEd and Koda FormDesigner here
lookfar Posted August 22, 2005 Author Posted August 22, 2005 (edited) hi lookfar,very nice work. But just one question, when can we expect tab-creation support? I really would love that one.<{POST_SNAPBACK}>OK, this is done now. new version up...keep in mind there is the known problem with child controls, so it will look ok in the designer but the generated code will have the coordinates of the TabSheet and not the main form so when AutoIt runs the resulting code it will be all over the place.I'm working on some kind of fix for this and I'm open to ideas?To Use: drop a TabbedPage (TpageControl) on the form, to add a new page, right click on the pagecontrol and choose "New Page" , to remove a page right click on the TabSheet and "Delete" . note: the position of your cursor is sensitive to the actual PageControl, you can only add a page when your cursor is on the PageControl (Not the TabSheet or any other control)If it's not you won't even see the option in the context menu (this is by design) Edited August 22, 2005 by lookfar Get the latest version of AutoEd and Koda FormDesigner here
kjactive Posted August 22, 2005 Posted August 22, 2005 (edited) FormDesigner is a real nice wizard but probably needs a lot of updates so I included this utility into my Update Manager 'Au3Update' as an menu option to keep track on easy updates - there is currently no revision/update notes to relate to the updater to check, no notification - just update and install...Other third party utilities not included in the native install process can get included as well - just drop me a line...Download at site:http://www.sitecenter.dk/latenight/nss-fol...e/Au3Update.exekjactive Edited August 23, 2005 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc...
wiredbits Posted August 24, 2005 Posted August 24, 2005 I'm interested to know how you do that ?<{POST_SNAPBACK}>Somthing like the following; Script generated by FormDesigner Preview 1 (very alpha state, use at your own risk)#include <GuiConstants.au3>If Not IsDeclared('WS_CLIPSIBLINGS') Then Global $WS_CLIPSIBLINGS = 0x04000000GuiCreate("Form1", 420, 331, 302,218 ,BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS));offsets for all controls in this groupboxCONST $FORM1_GROUPBOX1_LEFT=144 CONST $FORM1_GROUPBOX1_TOP=40$GroupBox1 = GuiCtrlCreateGroup("GroupBox1", 144, 40, 177, 177)$Edit1 = GuiCtrlCreateInput("Edit1",$FORM1_GROUPBOX1_LEFT+ 64,$FORM1_GROUPBOX1_TOP+80, 97, 21)$Button1 = GuiCtrlCreateButton("Button1",$FORM1_GROUPBOX1_LEFT+ 32,$FORM1_GROUPBOX1_TOP+ 120, 57, 25)GuiSetState()While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;; EndSelectWEndExit
lookfar Posted August 25, 2005 Author Posted August 25, 2005 Somthing like the following<snip>;offsets for all controls in this groupboxCONST $FORM1_GROUPBOX1_LEFT=144Â CONST $FORM1_GROUPBOX1_TOP=40<snip><{POST_SNAPBACK}>Genius !Thank you very much, this is exactly what I needed Get the latest version of AutoEd and Koda FormDesigner here
wiredbits Posted August 25, 2005 Posted August 25, 2005 Hi, Glad you can use it, I am sure u noticed i just grab form name, control name (etc) to make a unque CONST label. Oh, I am still unable to load a saved Form, is it a problem on my end? Thanks
lookfar Posted August 26, 2005 Author Posted August 26, 2005 Hi, Glad you can use it, I am sure u noticed i just grab form name, control name (etc) to make a unque CONST label. Oh, I am still unable to load a saved Form, is it a problem on my end? Thanks<{POST_SNAPBACK}>I uploaded new version which uses your solution, however instead of creating a const and more variables, I simply add up the numbers to arrive at the same thing.since I already know what the top and left of the groupbox is at designtime I just grab the controls top and left and add them up. ..seems to work just fine.again thanks for that.The loading isn't working yet as I am getting rid of that whole thing and doing a re-write.btw: I tried applying the same solution to the controls top and left to controls in a TabSheet but it does not seem to react in the same way as a groupbox.Do you have any ideas on that? Get the latest version of AutoEd and Koda FormDesigner here
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