Sign in to follow this  
Followers 0

FormDesigner Preview 1 uploaded

72 posts in this topic

Posted (edited)

Get the FormDesigner Here

http://www.autoitscript.com/fileman/users/lookfar/index.html

anyway for those brave souls who live on the edge, a beta version of a Form Designer has been uploaded to the filemanager. It is quite unfinished and I know of most of the shortcomings but feel free to test it out..

quick test: drop a combobox of the form, goto object inspector,click items,add your items, drop a memo/edit control on the form goto object inspector,click lines and add your lines then goto tools|generate code and tada.

edit: I know the IDE itself needs lots of work yet, but as I know next to nothing about AutoIt code/syntax, I'm just pulling from examples here,and the help file as well I have been asking here about syntax : so please provide feedback on the generated code.

edit: restored website and autoed files included new FormDesigner

Edited by lookfar

Share this post


Link to post
Share on other sites



Posted

Don't expect anyone to run it, you supplied the exe but no source, most don't trust just the exe.

Share this post


Link to post
Share on other sites

Posted

Don't expect anyone to run it, you supplied the exe but no source, most don't trust just the exe.

<{POST_SNAPBACK}>

It's not written in AutoIt, It's written in Delphi.

there is also a screenshot in the same folder.

Share this post


Link to post
Share on other sites

Posted

Someone who remember lookfar (he not being on board a long time) will run without worry...

Looks very nice, and I hope to see this finished sometime :)

Share this post


Link to post
Share on other sites

Posted

Very very nice.

Been thinking of doing something very similar in delphi myself, but never had the time.

If your needing any help with this, give me a shout. (7 Years of delphi behind me)

Share this post


Link to post
Share on other sites

Posted

Aah, AutoEd is back !

It looks very nice lookfar, as well as the new FormDesigner !

I'll test them when I get home !

Good job !

Share this post


Link to post
Share on other sites

Posted

Very very nice.

Been thinking of doing something very similar in delphi myself, but never had the time.

If your needing any help with this, give me a shout. (7 Years of delphi behind me)

<{POST_SNAPBACK}>

Absolutely, there are quite a few things that need to be implemented such as a Menu Designer. send me a message and I will get the source code to you.

Share this post


Link to post
Share on other sites

Posted

@lookfar: I thought that this project (FD), had been aborted...

But, great, you continue working in!

Looks nice. I see that it will be a very useful and usable tool soon...keep up the great work. :)

Share this post


Link to post
Share on other sites

Posted

I am really looking forward to progress on autoEd, it is soo close to being at a place where I would drop scite. Things I noticed:

-memory error when I closed the program

-Else and ElseIf not highlighting although they are defined as keywords...

-the run and syntax checker can't seem to resolve file paths....

/myprogram

-main script file

/myprogram/bin

-all the rest of my files

....Autoed isn't picking up any files in the /bin directory

#include <Array.au3>

#include <bin\var_MAIN.au3>

syntax check...

ERROR: can't open include file <Array.au3>

ERROR: can't open include file <bin\var_MAIN.au3>

Wishlist:

-split frame editing

-easy switch between beta and non-beta code definitions

-file browser tab to accompany the function/variable browser tab

Share this post


Link to post
Share on other sites

Posted

I am really looking forward to progress on autoEd, it is soo close to being at a place where I would drop scite. Things I noticed:

-memory error when I closed the program

-Else and ElseIf not highlighting although they are defined as keywords...

-the run and syntax checker can't seem to resolve file paths....

/myprogram

  -main script file

/myprogram/bin

  -all the rest of my files

....Autoed isn't picking up any files in the /bin directory

#include <Array.au3>

#include <bin\var_MAIN.au3>

syntax check...

ERROR: can't open include file <Array.au3>

ERROR: can't open include file <bin\var_MAIN.au3>

Wishlist:

-split frame editing

-easy switch between beta and non-beta code definitions

-file browser tab to accompany the function/variable browser tab

<{POST_SNAPBACK}>

I am focusing on the FormDesigner. AutoEd is still in beta, havent had much time. What I am planning is to use the Scintilla component in place of Synedit.

Share this post


Link to post
Share on other sites

Posted

Form Designer looks nice and clean. very promising indeed. good job, lookfar.

Was surprised to see some controls available though they are not at present supported by AutoIt like statusbar. is there a way to use activex to make them useable? :)

:evil:

Share this post


Link to post
Share on other sites

Posted

Form Designer looks nice and clean. very promising indeed. good job, lookfar.

Was surprised to see some controls available though they are not at present supported by AutoIt like statusbar. is there a way to use activex to make them useable? :)

:evil:

<{POST_SNAPBACK}>

Yes, I'm working on support for imbedded TWebBrowser Control ( IE and Mozilla), TStatusBar, TPanel etc..all the components that are missing from AutoIt I will try and use a Dll . As well as many third party Components that are available to Delphi providing I can export/build a Dll or ActiveX, so that AutoIt can call them.

(including TdataSets)

The FormDesigner is very simplistic right now and dumps the code in one big lump.

Once I have all the basic components working I will incorporate Events so you can for example drop a Button on the Form and set the onclick Event and it will generate code real time such as :

Func Event1()

; Code to handle event goes here

EndFunc

This will happen instantly while you are designing the form the code editor window will match the form. Similar to Delphi,VB et al..

I will all appear seamless when designing the form . Well that's the plan anyway :D

Share this post


Link to post
Share on other sites

Posted

Added support for dropping Pictures on the form.

Added Align property to object inspector , ie: drop a component on the form and align top,right,left or right and it's automatic.

Added autosize,center and stretch for the image component. all coordinates are then written as AutoIt code.

Have Fun !

Share this post


Link to post
Share on other sites

Posted

I can't wait to play with it, AutoEd looks like a future contender to SciTE on my desktop :) (Not today, maybe tomorrow)

Share this post


Link to post
Share on other sites

Posted

I can't wait to play with it, AutoEd looks like a future contender to SciTE on my desktop :)  (Not today, maybe tomorrow)

<{POST_SNAPBACK}>

AutoEd and the FormDesigner are two entirely different applications.

so use whatever editor you prefer and you may use the FormDesigner to make designing a pleasurable experience then dump the generated code into your preffered editor.

Share this post


Link to post
Share on other sites

Posted

AutoEd and the FormDesigner are two entirely different applications.

so use whatever editor you prefer and you may use the FormDesigner to make designing a pleasurable experience then dump the generated code into your preffered editor.

<{POST_SNAPBACK}>

And this is absolutely right decision IMO. Though AutoEd is very good, "people of habit" like myself most likely prefer their favorite editor...

Share this post


Link to post
Share on other sites

Posted (edited)

Sunday, July 10th:

Added ListBox control (with items list editor)

Added checked/Unchecked states to CheckBox and RadioButton

Fixed up Image/Picture Editor

Added DatePicker Control

Added ProgressBar

Added Application Icon

Monday, July 11th:

Added SpinEdit control ( with min/max and value)

TrackBar control ( vertical/horizontal,tickmark style etc)l

Note: All controls now have enabled true/false option in the Object Inspector ($GUI_DISABLE)

Working Controls so far:

Listbox (with items list editor)

CheckBox (with checked/unchecked state)

RadioButton (with checked/unchecked state)

Picture (with Picture Editor)

Label

ComboBox (with Items list editor)

Memo/Edit (with Lines list editor)

InputBox

GroupBox

ProgressBar ( with smooth state on/off)

TrackBar (slider)

DatePicker

Application Icon for GUI Form ( will be used if set)

SpinEdit ( Updown)

5 or 6 more to go..

Have fun!

Edited by lookfar

Share this post


Link to post
Share on other sites

Posted

looks really nice to me. go on lazy :-)

Share this post


Link to post
Share on other sites

Posted

Very cool

Share this post


Link to post
Share on other sites

Posted

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... ^^

Share this post


Link to post
Share on other sites

Posted (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 by lookfar

Share this post


Link to post
Share on other sites

Posted

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...

Share this post


Link to post
Share on other sites

Posted

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.

Share this post


Link to post
Share on other sites

Posted

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))

Share this post


Link to post
Share on other sites

Posted

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.

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

  • Recently Browsing   0 members

    No registered users viewing this page.