Jump to content
Sign in to follow this  
BuckMaster

Form Builder beta

Recommended Posts

VERY impressive indeed. Something like this should replace Koda... Koda has such a windows 98 basic feel to it. This one you have made has a much richer modern look and functionality. Bloody good job indeed!

Share this post


Link to post
Share on other sites

I found an array overrun bug. Start a new file. Add a child window via the button on the top toolbar. Then hit the X on the child window that appears in the design area and choose "No" you don't want to save it. Boom repeatable array based error.

Hope it helps.

Share this post


Link to post
Share on other sites

Looks very promising - has the potential for the successor of Koda. :thumbsup:

I will test it more deeply later and tell you some issues I got with it...

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

:)

Ok, this time when I hit X on the child window and press no, both the original window and the child vanish. Then if you click the tab at the top that says "untitled.gui" it Array crashes again.

Share this post


Link to post
Share on other sites

An impressive project. I just quickly browsed the source code and my only suggestion(s) would be...

1. Replace Case -3 with Case $GUI_EVENT_CLOSE

2. Use new AutoIt color scheme that is present in SciTE.

Func _SetRESHAutoItColors()
    ; These are not required but it's easier to use enum when associating the array element numbers to the color meanings.
    Local Enum $iMacros, $iStrings, $iSpecial, $iComments, $iVariables, $iOperators, $iNumbers, $iKeywords, _
            $iUDFs, $iSendKeys, $iFunctions, $iPreProc, $iComObjects

    ; Declare 13 element array.
    Local $aColorTable[13]

    ; Values can use # or 0x.
    $aColorTable[$iMacros] = '#808000'
    $aColorTable[$iStrings] = 0xFF0000
    $aColorTable[$iSpecial] = '#DC143C'
    $aColorTable[$iComments] = '#008000'
    $aColorTable[$iVariables] = '#5A5A5A'
    $aColorTable[$iOperators] = '#FF8000'
    $aColorTable[$iNumbers] = 0x0000FF
    $aColorTable[$iKeywords] = '#0000FF'
    $aColorTable[$iUDFs] = '#0080FF'
    $aColorTable[$iSendKeys] = '#808080'
    $aColorTable[$iFunctions] = '#000090'
    $aColorTable[$iPreProc] = '#808000'
    $aColorTable[$iComObjects] = 0x993399

    _RESH_SetColorTable($aColorTable)
EndFunc   ;==>_SetRESHAutoItColors

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Share this post


Link to post
Share on other sites

Very nice!

Ok thats working. I cannot click on layers I add on that left toolbar area. Also if I try and use a "UpDown" control from the left toolbar it does not seem to add anything anywhere. So far thats all I have found.

Edit:

You may want to check into your tree area on the right that shows currently used controls/gui. I have not been able to replicate the issue but I did have a child window showing up there yet it was missing in the code area at the bottom and there was no visual of it on the design area yet it was showing there in that tree. So watch out for that one if you happen to catch it.

Edited by Morthawt

Share this post


Link to post
Share on other sites

If I try and highlight an area of script at the bottom and try and backspace it, it does nothing. Same with holding backspace to try and delete chunks of characters. I had to be very slow and deliberate one backspace at a time to edit the code.

EDIT:

Editing the grid size does not alter the visual representation of the grid in the form being worked upon.

Edited by Morthawt

Share this post


Link to post
Share on other sites

very nice

do you think flash object , wmplayer object ,adobe object ,ie object ,excel tab,doc ,add buttons

Edited by mesale0077

Share this post


Link to post
Share on other sites

Very nice indeed.

Agreed! This code is way above me for sure. I have no idea how he made something so nice looking and dynamic. I am totally speechless.. This is the most impressive thing I think I have seen yet.

Share this post


Link to post
Share on other sites

When importing an existing script:

$cboStatusDisplay = GUICtrlCreateCombo ("", 126, 368, 97, 17, $CBS_DROPDOWNLIST)
GUICtrlSetData(-1, "None|Balloon|Window")
imports as:
$Label11 = GUICtrlCreateLabel( "None|Balloon|Window", 37, 370, 80, 17)

Also, this:

$frmOptions = GUICreate("Options", 314, 480, -1, -1)
gets imported as:
$frmOptions = GUICreate( "Options", 306, 446, -1, -1)
which results in some buttons being hidden at the bottom of the window.

Share this post


Link to post
Share on other sites

A few more bugs:

Launch the app and then press the Close Current Window toolbar button. Answer "Yes". Repeat close window process again. Boom.

Also, similar thing happens if you close the current window and then choose New GUI from the File menu. Answer "Yes" to close current project. You will end up with two tabs titled "Untitled gui". When you switch back and forth between them, you get an array subscript error.

Also get a subscript error upon duplicating some elements.

Edited by DanP2

Share this post


Link to post
Share on other sites

WOW

And it's all written in AutoIt script too!

This is impressive, I agree with UEZ, this has the capacity to be a successor to koda if you ask me, especially since it's in the language we all love.

An impressive project. I just quickly browsed the source code and my only suggestion(s) would be...

1. Replace Case -3 with Case $GUI_EVENT_CLOSE

2. Use new AutoIt color scheme that is present in SciTE.

1. why? Isn't GUI_EVENT_CLOSE just a variable with -3 assigned to it? I don't see that message code ever changing anytime soon or ever. :huh:

2. I personally don't like that new scheme, I counter suggest a "no" and "don't do it" :P

Share this post


Link to post
Share on other sites

1. why? Isn't GUI_EVENT_CLOSE just a variable with -3 assigned to it? I don't see that message code ever changing anytime soon or ever. :huh:

2. I personally don't like that new scheme, I counter suggest a "no" and "don't do it" :P

You should avoid using "magic numbers" whenever possible, if you don't know what -3 means it can confuse anyone looking at your script. If you see GUI_EVENT_CLOSE you at least have an idea of what it's looking for.

I also would veto setting it to an arbitrary color scheme, not everyone leaves it at the default, so having it the same as SciTE's doesn't make a lot of sense. Choose the color scheme you like and let it be changeable by the user would be the way I'd go about it.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

Wow! very nice looking project! :thumbsup: Looking forward to playing around with it.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Se7enstars
      Hi guys today we're prepare new custom checkbox in autoit (modern checkbox)
      there're used some icon files with type of icons that you want install.
      If anybody interesting, Full Source code: https://cloud.mail.ru/public/fp2y/35K2983HE (from cloud storage)
      Screenshot: 

    • By Se7enstars
      New Modern Design UI in AutoIt in 118 line
      Please watch & like in Youtube: Link
      Full Source Code free: Link
       

    • By Fenzik
      Hello all!
      i'm searching here, cause i do'nt know where else to search..
      I'm developing some projects, mainly intended to help Blind users of computers.
       
      I'm also blind, so my guis are Ok for Screen readers, but i'm not sure, if they are good also for normal users..
       
      So I¨m searching here for somebody, interested in Autoit, which have no problem to help me a bit with designating my apps.
       
      My apps are written in Czech language, so i prefer somebody from Czech republic..
       
      If somebody want to help me, don't hesitate to contact me personaly, contacts and my projects are available on web in my profile.
       
      So thank you for potential help and i'm sorry if i missed some forum etiquette rule here.
       
      I'm not sure how it works here with searching for interested people and then contact them personaly.
       
      Fenzik
    • By v0id
      I am starting out using AutoIt. Here is a simple form with username and password. I want to check if information entered is valid once user clicks a button.
      My problem now is that it only validates once. E.g.: if I type 5 character username, it will complain it is not 7 character (good). But once I correct that mistake and press the button again it will still say the same thing.
      Do I need to have a loop?
       
      #include <GUIConstantsEx.au3> #include <EditConstants.au3> #include <MsgBoxConstants.au3> Opt("GUIOnEventMode", 1) $main = GUICreate("Test Tool", 600, 600) $hyourlabel = GUICtrlCreateLabel("YOUR CREDENTIALS", 30, 10, 256) GUICtrlSetFont($hyourlabel, Default, 600) Local $adminfrejalabel = GUICtrlCreateLabel("Username:", 8, 38, 64, 17) Global $adminfrejaid = GUICtrlCreateInput("", 80, 38, 110, 17) Local $adminpasswordlabel = GUICtrlCreateLabel("Password:", 8, 62, 64, 17) Global $adminpassword = GUICtrlCreateInput("", 80, 62, 110, 17, BitOR($ES_PASSWORD, $ES_AUTOHSCROLL)) $userButton_Check = GUICtrlCreateButton("VALIDATE", 32, 480, 85, 25) GUICtrlSetOnEvent($userButton_Check, "startvalidation") GUISetOnEvent($GUI_EVENT_CLOSE, "ExitGUI") GUISetState(@SW_SHOW) While 1 Sleep(10) WEnd Func startvalidation() ;CHECK VALIDATIONS $adminfrejaid = GUICtrlRead($adminfrejaid) $adminpassword = GUICtrlRead($adminpassword) If StringLen($adminfrejaid) <> '7' Then MsgBox($MB_SYSTEMMODAL, "User ID", "Please enter exactly 7 characters.") ;Exit EndIf If StringLen($adminpassword) < '5' Then MsgBox($MB_SYSTEMMODAL, "Your Password", "Please enter a valid password.") ;Exit EndIf EndFunc Func ExitGui () Exit ; Exit the program EndFunc  
    • By jasontj
      Hello.  I'm working on converting another script from IE to Firefox.  I can't seem to get a handle on the field "Defendant" to fill in a last, first name on this page:
      http://www.hcdistrictclerk.com/Edocs/Public/Search.aspx?Tab=tabCriminal
      I also can't seem to submit the form.   I've tried the code below... stuff may be commented out that I have tested.
       
          _FFOpenUrl("http://www.hcdistrictclerk.com/Edocs/Public/Search.aspx?Tab=tabCriminal")    
          _FFLoadWait()
          $oTextFN = _FSObjGet("ctl00_ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder2_ContentPlaceHolder2_tabSearch_tabCriminal_txtCrimDefendant", "ID")
          
          _FFObj($oTextFN, "value", "Smith, John")    
          $subButton = _FFObjGet("ctl00$ctl00$ctl00$ContentPlaceHolder1$ContentPlaceHolder2$ContentPlaceHolder2$btnSearch", "name")
          _FFClick($subButton)
          _FFLoadWait()
          
      ;    _FFFormSubmit()
      ;    _FFLoadWait()
       
      Any help from the experts on here would be greatly appreciated.  
       
      Jason
       
       
       
       
×
×
  • Create New...