Jump to content

Recommended Posts

@jaberwacky Thanks, that means a lot coming from you!

Of course, I owe a lot to you for converting to OnEvent mode and using Maps and other improvements I'm sure which made this very much more approachable. Hopefully I can continue improving the code for others to contribute to or learn from.

Link to post
Share on other sites
  • Replies 56
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

GuiBuilderPlus GuiBuilderPlus is a small, easy to use GUI designer for AutoIt. Originally created long ago as AutoBuilder by the user CyberSlug, enhanced as GuiBuilder by TheSaint, and furth

v0.23 dropped in the first post! There are not many front-end changes, but there is quite a lot going on in the background. The highlights: Converted the maps to objects using the AutoItObj

A small but mighty update found in the first post. I spent a lot of time on the selection handles AKA grippies. Now when you select multiple controls either by drag-selecting or Ctrl+select, each sele

Posted Images

Hey everyone! Check the first post for the latest update with a whole slew of improvements and new features!

Much time and care was put into improving the functionality and stability of selecting and manipulating controls (selection rectangle, copy, paste, drag, resize, etc...)
Everything seems to be working pretty well, but slows down considerably when selecting massive groups. I've done what I could for now, but will need to think about how to improve this.

Particularly neat is the new feature for aligning the selected controls. Select several controls, then right click on a control or use the edit menu to arrange and align the selected controls. Everything will be aligned to the FIRST selected control.

Also cool is that groups of controls can be selected and resized together proportionally. Also, when copying and pasting multiple controls at once, they maintain their relative positions instead of stacking on top of each other.

Unfortunately, the rich edit control for syntax highlighting was removed. It was causing so many issues and was not worth it to me to fight it. Standard edit works fine for now.

I still need to add control style properties, but I am running out of ideas. Needing some suggestions! But keep it simple. ūüėŹ


What's Changed?

  • FIXED:¬†¬†¬† Lots of handling of copy+paste scenarios
  • FIXED:¬†¬†¬† Tooltip when resizing multiple controls
  • FIXED:¬†¬†¬† Changed the selection rectangle so controls don't bounce around during right-to-left selection anymore
  • FIXED:¬†¬†¬† Right-click when multiple controls are selected
  • FIXED:¬†¬†¬† Lagging when dragging many controls at once
  • FIXED:¬†¬†¬† Improved a lot of flickering when dragging things
  • FIXED:¬†¬†¬† Select a control after drawing (instead of drawing on top of it)
  • ADDED:¬†¬†¬† New menu item, shortcut key Ctrl+X, and context menu item to 'Cut' selected controls
  • ADDED:¬†¬†¬† Cut/Copy/Paste will now maintain relative positions and spacing
  • ADDED:¬†¬†¬† Improved paste functionality
    • When pasting with Ctrl+V, control will follow mouse waiting to be placed by single click
    • When pasting with menu or right-click, control will be placed at mouse position
  • ADDED:¬†¬†¬† Resizing multiple-selected controls will resize proportionally as a group
  • ADDED:¬†¬†¬† Resize using any of the selected grippies, not just the last selected
  • ADDED:¬†¬†¬† Status messages for changing some settings (F3, F7)
  • ADDED:¬†¬†¬† Tool button icons now built into the exe, so resources folder is not necessary to run
  • ADDED:¬†¬†¬† Improved selection detection
    • Left-to-right selection requires entire control to be in the rectangle
    • Right-to-left selection selects anything that crosses the rectangle
  • ADDED:¬†¬†¬† Right-click menu items: Arrange-> Align left/center/right, top/middle/bottom, space vertical/horizontal
  • ADDED:¬†¬†¬† Ask to save (definition) dialog when closing, only when a change was detected since the last save
  • MAINT:¬†¬†¬† Added logging function and debug flag for testing/development
  • MAINT:¬†¬†¬† Downgraded to AutoIT v3.3.14.5 for personal reasons (removed maps)
  • UPDATED:¬†¬†¬† Better startup loading, so windows open at the same time
  • UPDATED:¬†¬†¬† Better redrawing with working with multiple controls
  • UPDATED:¬†¬†¬† Reverted back to standard edit box for code preview due to more issues with rich edit than it was worth
  • REMOVED:¬†¬†¬† DPI scaling - not reliable enough to keep for now
Link to post
Share on other sites

Hello,

Do you have any plans to provide an option to import an uu3 file that already contains code for the Form ?

This would making switching over to this GUI builder a quick and easy process

Can you share your plans for new features you are planning on ?

 

 

Link to post
Share on other sites

First post updated to v0.28.

I haven't had much time lately for new features, but there are a number of bug fixes and enhancements, such as reduced flickering and speed improvements throughout.

 

What's changed?

Spoiler
  • FIXED:¬†¬† ¬†UpDown control shrinks when dragging
  • FIXED:¬†¬† ¬†Missing ListView icon in compiled app
  • FIXED:¬†¬† ¬†Fixed clicking away from certain controls
  • FIXED:¬†¬† ¬†Clicking a blank area should end the drawing, but did not work for some controls (combo, updown)
  • FIXED:¬†¬† ¬†Multiple tab controls should not be allowed
  • FIXED:¬†¬† ¬†Flickering when selecting and moving controls
  • FIXED:¬†¬† ¬†Selection rectangle should not snap to grid
  • FIXED:¬†¬† ¬†Grid disappears in some situations when clicking with no controls on the form
  • ADDED:¬†¬† ¬†Hide tooltip when selecting more than 4 items
  • ADDED:¬†¬† ¬†Allow a select number of keyboard shortcuts from tool window (ex: Press F5 to test the GUI after adjusting properties)
  • ADDED:¬†¬† ¬†Better handling of IP control
  • MAINT;¬†¬† ¬†Improved selection rectangle (again)
  • MAINT:¬†¬† ¬†Improved some of the behind-the-scenes object handling
  • MAINT:¬†¬† ¬†Significant speed improvements with object explorer
  • MAINT:¬†¬† ¬†Other general speed improvements

 

Link to post
Share on other sites
On 6/14/2022 at 6:21 AM, kurtykurtyboy said:

creating an au3 parser from scratch seems like a daunting task.

My good buddy @TheDcoder has been doing something like that. :) 

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Link to post
Share on other sites

@Sunblood, adding controls to tabs is on the project roadmap, but I need to lay some behind the scenes groundwork first in order to make that happen. The foundation of the code currently is not at all friendly for this kind of functionality, so I plan to redo a few things first instead of applying band-aids over and over to force it to work 

For now, the best we can do is add the blank tab sheets.

Link to post
Share on other sites

Thanks for this awesome project.

 

But i can't save any project?

If i save the "start window" all goes well

 

If i just add 1 GUI element and try to save it get this error:

 

---------------------------
AutoIt Error
---------------------------
Line 32354  (File "U:\Development\AutoIT\GuiBuilderPlus v0.28 - 2022-06-26\GUIBuilderPlus v0.28.exe"):


Error: Variable must be of type "Object".
---------------------------
OK   
---------------------------
 

 

For now, i maybe have enough for the live code..

 

 

 

Link to post
Share on other sites

Just a small update due to the issue reported by @trekker here. The latest updates can be found in the first post.

  • FIXED:¬†¬† ¬†Color and Background values of 0x000000 were saved as -1
  • FIXED:¬†¬† ¬†Setting "Paste at mouse position" incorrect behavior when turned off
  • FIXED:¬†¬† ¬†Error when saving GUI to file
  • FIXED:¬†¬† ¬†Crash when loading GUI file and resizing control
  • FIXED:¬†¬† ¬†Improved GUI file load times
  • ADDED:¬†¬† ¬†"Save As..." menu item (File menu)
  • ADDED:¬†¬† ¬†Change background color of checkbox and radio controls
  • CHANGED:¬†¬† ¬†You can now draw "on top of" other controls (instead of switching to selection)
  • CHANGED:¬†¬† ¬†GUI definition files now use json formatting to prepare for future features

 

Are people actually interested in seeing these small updates or should I just wait until we are finally at version 1.0?

Link to post
Share on other sites
Posted (edited)

Feel free to check the first post for the latest update, v1.0.0-beta, which is kind of a big deal. ūüėŹ

This is probably the most significant update to date as far as new features. Several major features have been added which you can see below.
This release has caused me so many headaches, but I think it was worth it and is working pretty well. If you take a peak at a new agd file with tabs containing controls, you'll understand why I switched it to a json file!

Also, the program is very much usable now so I think it is past time to call this v1.0.0-beta and start using a coherent versioning system.

As always, please report any bugs you find. I'm sure there will be a lot with these new features, which is why we'll call this a pre-release for now.
 

Changes:

  • FIXED:¬†¬† ¬†Crash when using Ctrl+O shortcut key
  • FIXED:¬†¬† ¬†GUI should not close when cancelling the save dialog
  • ADDED:¬†¬† ¬†Ability to add child controls to Tabs
  • ADDED:¬†¬† ¬†Ability to add child controls to Groups
  • ADDED:¬†¬† ¬†Ability to lock controls to prevent from moving, resizing, deleting
  • ADDED:¬†¬† ¬†New Styles tab to set GUI and control styles
  • ADDED:¬†¬† ¬†Font size property
  • ADDED:¬†¬† ¬†Shortcut key Ctrl+A to select all in code preview
  • CHANGED:¬†¬† ¬†Properties list is now in alphabetical order

Edit:

I thought maybe I should explain how to add to tab or group controls. There are 2 ways to do it.

  1. The first way is to draw a new control on top of a tab or group parent.
  2. The 2nd way is to copy a control then select the tab or group control before pasting.

Also, you can use the move up/down buttons to move child controls up or down the tree within its parent. Or you can move the parent along with all of its children.

Edited by kurtykurtyboy
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By TheSaint
      As many of you may not be aware, of much about AutoIt's humble beginnings, and aspects related to the first GUI version of AutoIt, I thought it might be nice to create a historical reference here for all the many GUI creators that have been created by various people over the years.
      NOTE - While one could argue, that this topic might be better placed in one of the Chat forums, I would argue, that it links to heaps of good code. While much may be redundant in that code, it is still interesting and forms a great perspective. Many are bound to find useful elements at the very least.
      Koda, is no doubt the most well-known GUI creator now, but there was a time, when CyberSlug's legendary GUIBuilder (first known as AutoBuilder) ruled the roost, and AutoIt coder's saw it as a Godsend. AutoIt coding was much simpler back then of course.
      Below, will be a timeline, of any AutoIt GUI creators listed in forum pages. It will be added to by myself as I find them or as others here find them and place a link in a subsequent post ... PLEASE HELP! Comments welcome too.
      (Also note, that this is also intended to include updates, branches etc by others)
      Apr 20 2004 - AutoBuilder by CyberSlug.
      Sep 27 2004 - An interesting topic, where CyberSlug talks about the future of AutoBuilder (etc) and renaming to GUIBuilder and you see the first mentions and links to updates by others (including myself & livewire).
      Nov 05 2004 - A topic where lookfar is working on a SciTE replacement, talks about starting a Form Designer.
      Aug 10 2005 - GuiBuilder first update by TheSaint.
      Sep 26 2005 - GUIBuilder updates by livewire (he also talks about transferring his efforts to Koda).
      Nov 02 2005 - KODA FormDesigner v1.3 by lookfar
      Nov 03 2005 - Seemingly interesting topic about forms by tonedeaf
      Dec 26 2005 - AutoIt Studio(beta) by BillLuvsU
      Jan 09 2006 - AutoBuilder update (or branch) by _^__darkbytez (livewire also posts).
      Feb 19 2006 - Koda v1.5 by lookfar
      Sep 07 2006 - Koda v1.7.3.0 by Lazycat
      Jan 07 2007 - Form/GUI Builder by FlintBrenick
      Jun 10 2007 - Gorganizer by _Kurt (more of an assister than actual GUI maker)
      Jun 27 2007 - Basic GUI Designer by Mast3rpyr0
      May 03 2008 - Autoit Programmer's Desktop (APD) by Ealric
      Jul 11 2008 - Gui Designer by Alek
      Aug 11 2008 - Gorganizer update by _Kurt
      Jun 19 2009 - Easy GUI by Mat
      Aug 13 2009 - GUI Script Creator by Pandemic (not sure this qualifies, but it made me think of templates)
      Aug 16 2010 - Creation Gui by AZJIO
      Jan 22 2012 - ISN AutoIt Studio by ISI360 (includes ISN Form Studio 2, a GUI editor)
      Mar 19 2012 - Arduino GUI Programmer by nikosliapis (creates a specific type of GUI)
      Aug 01 2012 - GuiBuilder Resurrected update/branch to GUIBuilder by baroquebob
      Dec 01 2012 - Form Builder beta (v1.0.6) by BuckMaster
      Jan 12 2015 - GUIBuilderNxt update by jaberwacky of GUIBuilder v0.8 (as a new prototype, modified to work with latest AutoIt) (not a update to the Resurrected version)
      Aug 12 2016 - The GuiBuilder Return by DFerrato as an update to GUIBuilder,
      Jan 17 2017 - GUIBuilder Project by TheSaint (a work in progress based on CyberSlug's original ... and later versions, updated by Roy, TheSaint & others).
      May 29 2019 - The GuiBuilder Return by DFerrato as an update to GUIBuilder, His new and improved version.
      May 9 2022 - GuiBuilderPlus by kurtykurtyboy as an update to GUIBuilder. A new an improved version with more to come.
      There are a significant number of creators/designers that have been started and never completed.
      +++++ STILL UNDER CONSTRUCTION +++++
      P.S. Well that's it from me tonight. I know of at least one other major creator, but cannot recall it's name or the name of the coder, though I think it starts with 'L'. Bound to be a few I've missed, and some I cannot seem to find their first appearance here (Koda, Form Builder, etc), but there may be an obvious reason for that. Will probably rely on feedback from others now that I've got the ball rolling.
      NOTE - If anyone wants to discuss any of these programs above or give some background history, then by all means do so. I will cross-reference (link to) any important comments.
    • By jaberwacky
      This is an update to GuiBuilder (CyberSlug, Roy, TheSaint, and many others) to run on the latest AutoIt Beta release.
       
      For a chronological history of GuiBuilder and other GUI designers see: >AutoIt GUI Creators (Designers).
      The seed of this effort is >here.
      Note: This is early stage software.  Please help by reporting issues.
      -----------------------------------------------------
      Now for the latest exciting installment!  Tabs are now available!  One tab can be added to the GUI.  Move it, resize it, and right click to add a new tab item!  More context menu items on the way.  Also upcoming is the ability to be able to add controls to each tab item.
      ---------------------------------------------------------
      GUIBuilderNxt - Reboot.zip - Exe included.
      dl: 4286
      Changelog:
      New Features and fixes:
      1) Show or hide control while moving or resizing control. *Currently bugged out*
      2) Option to show controls which have had their state set to hidden.
      3) Properties window for each control as they are selected.  This makes fine tuning a control easier.
      4) A button which will resize a control's width to fit the text.  Uses Melba23's _StringSize library.
      5) Remembers settings from the last session.
      6) GuiOnEvent mode.  CyberSlug made mention of wanting to do this in the early days of GuiBuilder.
      7) Maps rather than multidimensional arrays.
      8) Consistent control naming, (i.e., instead of Group1, Button2, Button3, Radio4 it would now be Group1, Button1, Button2, Radio1).
      9) Restructured the menubar layout per GuiBuilder Resurrected.
      10) Hotkeys switched to accelerators.
      11) Option to wipe the gui clear to the Edit menu.
      12) Select and move multiple controls at once by holding down Ctrl or using a selection rectangle.
      13) Copy, Paste and Delete multiple controls at once.
      14) Solid grid background that now resizes to fit the GUI.
       
      Roadmap:
      1) Get the Tab control to work correctly. *Still in progress*
      2) Finish adding properties settings to the control properties window.
      3) Make the code generation produce code with a better layout.
      4) Common GUI templates.  Ability to make your own templates too.
      5) Select multiple controls and use arrow keys (or other method?) to snap the selected controls to align to the chosen edge.
      6) Visual hints to tell you when you're within so many pixels from the edge of the window or control.  Mimics the gui designer of Visual Basic.
      7) Double click a control to edit the text.
      8) Visual hints to indicate selected controls, etc.
      9) Ability to create and store custom controls.
       
      Known issues:
      1)Many!
    • By DFerrato
      Hello to all.
      My name is Daniel, I am original of the Argentina and 9 months ago about that development in Autoit, after having passed through other languages type Basic
      I found a model of development which adapts to my tastes and I am comfortable, but my performance to generate new applications was slow due to the lack of GUI Builder.
      I found a model of development which adapts to my tastes and I am comfortable, but my performance to build new applications was slow due to lack of a generator of GUI.
      This situation led me to find a project open-source which adapted to my needs.
      Review several of the programs appointed by TheSaint, opting to improve and complete 'GuiBuilder Resurrected' publish by baroquebob; when I did was not (or not view the GUIBuilderNxt update by jaberwacky). Below I dedicate some paragraph to this.
      Also probe (and I was surprised) with Koda , but they are not open-source. (the ISN Studio is super , but very complex for my)
      Well, here I leave you the link to download, I do so with the idea that you can use it, give me your opinion and help me improve it.
      Equally here leave you a list of characteristics, all the changes were designed and implemented in a way that respects the job before made by CyberSlug, Roy, TheSaint and Bob ; without radical changes continuing what they started.
      * New control 'Pick color'
      * New properties 'Backgroud Color' and 'Style'
      * New Functions Export file (.au3) and 'Test'
      * Other function not finalizated.Yet
      * Improve Documentation.
      Wait for your comments...
       
      Regards Daniel
      guibuilder_0.9.3.zip
×
×
  • Create New...