Jump to content

FormDesigner Update


 Share

Recommended Posts

Just added AVI control support.

I'm probably spending about 2 hours on each component to port over, but have almost got all the main controls. Then I will start adding support for Database components such as ADO and perhaps DBase , then WebBrowser etc...

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

Working Controls so far:

Image (with Picture editor)

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)

Animation (Microsoft Video for Windows) active:= animation on/off

Hints/ToolTips for all controls

in the code generation: Let me know if I'm missing any parameters...

btw: I'm Having problems converting delphi colors to AutoIt format, every Tcolor to Hex I have tried converts to a web style hex, what is the exact hex format of AutoIt colors, how did you arrive at them?

anyway

Have fun!

Edited by lookfar
Link to comment
Share on other sites

perhaps I overlooked it, but did you include a way to remove controls from the form?

<{POST_SNAPBACK}>

for now highlight the control and press del key.

sorry I haven't got around to "cut,copy,paste,select all" etc. I will do that next as it only takes a few minutes.

Edit: Ok that's done now. edit menu has cut,copy etc.

but most of the fine tuning of controls is done by the context menu

Edited by lookfar
Link to comment
Share on other sites

Nice progress...

Some observations:

*Window's overlaps

For example (tested under Win2000):

- Open FD

- Draw a button

- Click over an area out of FD (e.g. : desktop)

- Click again over FD.

- Click "Generate code" or "About" menuitem.

Result: "Generate code" or "About" dialog is under the form.

*Would be useful a "Test dialog" or "Switch" button.

Keep up! :)

Link to comment
Share on other sites

Nice progress...

Some observations:

*Window's overlaps

For example (tested under Win2000):

- Open FD

- Draw a button

- Click over an area out of FD (e.g. : desktop)

- Click again over FD.

- Click "Generate code" or "About" menuitem.

Result: "Generate code" or "About" dialog is under the form.

*Would be useful a "Test dialog" or "Switch" button.

Keep up! :)

<{POST_SNAPBACK}>

Ok I fixed the problem with the forms overlapping.

By "Test dialog" do you mean a quick shell out to AutoIt to run the form?

If so, I will be implementing that soon.

Link to comment
Share on other sites

Lookfar,

I tried your AutoEd progam and I like it alot. However, I can not get it to compile or run scripts made with the beta. Am I missing something or is this planed for the future?

Thank you for this great program!

vbMark

Link to comment
Share on other sites

Lookfar,

I tried your AutoEd progam and I like it alot.  However, I can not get it to compile or run scripts made with the beta.  Am I missing something or is this planed for the future?

Thank you for this great program!

vbMark

<{POST_SNAPBACK}>

goto tools| options | environment options. and confirm path to autoit.exe, what happens is the active editor lines are saved to tmp.au3 in the autoed directory and autoit runs that file. the green arrow or F9 will run it. compile has not been implemented.

I stopped working on it but plan a rebuild soon.

Link to comment
Share on other sites

  • 2 weeks later...

Added TreeView Control:

drop a treeview on the form then use Object Inspector -> TreeNodes

and you will have a visual tree designer to work with. Root Node, Root Items, Children,Subchildren ad finitum are supported. you will get generated code that looks like:

$treeview = GUICtrlCreateTreeView (6,6,100,150)
$generalitem = GUICtrlCreateTreeViewitem ("General",$treeview)
$displayitem = GUICtrlCreateTreeViewitem ("Display",$treeview)
$aboutitem = GUICtrlCreateTreeViewitem ("About",$generalitem)
$compitem = GUICtrlCreateTreeViewitem ("Computer",$generalitem)
$useritem = GUICtrlCreateTreeViewitem ("User",$generalitem)
$resitem = GUICtrlCreateTreeViewitem ("Resolution",$displayitem)
$otheritem = GUICtrlCreateTreeViewitem ("Other",$displayitem)

Have Fun!

btw: all controls can be moved with : Shift [up,down,right,left] arrows (fine tune shrink/grow)

and Ctrl [up,down,right,left] arrows (fine tune position)

Edited by lookfar
Link to comment
Share on other sites

  • 2 weeks later...

Lookfar,

Very cool tool. I just downloaded the latest version from your website (7/11/05 version) and it looks great. One thing that I noticed when a tried loading a saved AUF file is I get an error message:

"$Label1" is not a valid component name.

When I clicked OK, I get a blank form. I opened the AUF file in Scite and found out that all the Name attributes have a "$" sign before the value, like:

[0]

Name=$Label1

Parent=Form1

I removed the $ sign and was able to open the AUF. Other than that, everything seems ok. Great too by the way!

Thanks,

=MX=

Link to comment
Share on other sites

Lookfar,

Very cool tool.  I just downloaded the latest version from your website (7/11/05 version) and it looks great.  One thing that I noticed when a tried loading a saved AUF file is I get an error message:

"$Label1" is not a valid component name.

When I clicked OK, I get a blank form.  I opened the AUF file in Scite and found out that all the Name attributes have a "$" sign before the value, like:

[0]

Name=$Label1

Parent=Form1

I removed the $ sign and was able to open the AUF.  Other than that, everything seems ok.  Great too by the way!

Thanks,

=MX=

<{POST_SNAPBACK}>

Glad you like it.

It's still a ProtoType, I haven't done much in the way of reading/loading the forms

just the basic functionality with no error checking.

I 'm presently working on a new version that saves the form as a Delphi.DFM format which is a lot faster.

Link to comment
Share on other sites

  • 1 month later...

I love Form Designer I Use it alot....

But their is a bug remaining....

The .AUF when saved could not be brought back....

Posted Image

In tne .AUF file I have a component named $Convert generated by FD...

(because of button caption identified as "Convert")

I've tried erasing all "$" in the .AUF file and it opens but some of the components are missing...

_______________________________________[font="Arial"] Bouzzi[/font]Bouzzi@yahoo.comLive From Quebec

Link to comment
Share on other sites

I love Form Designer I Use it alot....

But their is a bug remaining....

The .AUF when saved could not be brought back....

This version is not updated. You can try "sneak peak" version that have new working save/load functions, but it's still alpha. I hope new version will be soon.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...