Jump to content


Photo

Lil Builder 0.7.1


  • Please log in to reply
61 replies to this topic

Poll: What should happen to this project? (100 member(s) have cast votes)

What should happen to this project?

  1. Let's work on it, I'll help (17 votes [13.18%])

    Percentage of vote: 13.18%

  2. Keep it alive (107 votes [82.95%])

    Percentage of vote: 82.95%

  3. Let it go (1 votes [0.78%])

    Percentage of vote: 0.78%

  4. I don't care (4 votes [3.10%])

    Percentage of vote: 3.10%

Vote Guests cannot vote

#1 ahkuser

ahkuser
  • Members
  • 9 posts

Posted 14 June 2007 - 06:45 AM

This is an advanced and feature rich GUI form creation tool. It supports custom controls and saving/loading projects.
It can also make copy of windows from your existing GUI scripts to help you convert them to builder project files.


Latest version For history of changes see changes.txt.
Download 0.7.11

Old thread with development history untill version v0.6.1

Posted Image



Modules

[*:2mwe5cnq]Anchor
[*:2mwe5cnq]Dock
[*:2mwe5cnq]Custom Controls
[*:2mwe5cnq]MMenu
[*:2mwe5cnq]PGui
[*:2mwe5cnq]list not completed...

Cooperative work

Currently developed by : Ahklerner, Majkinetor, Toralf and Rajat
Account: ahkuser
Pass: (ask for it)
Folder: LilBuilder


#2 majkinetor

majkinetor
  • Fellows
  • 4511 posts

Posted 14 June 2007 - 07:45 AM

There is still bug with GRID and controls that get resized when you click them.

#3 Rajat

Rajat
  • Members
  • 1886 posts

Posted 14 June 2007 - 07:47 AM

and the stealer is broken for some controls in latest release. i need to fix it. the problem is probably in CreateControl function.

#4 toralf

toralf
  • Fellows
  • 3948 posts

Posted 14 June 2007 - 08:57 AM

and the stealer is broken for some controls in latest release. i need to fix it. the problem is probably in CreateControl function.

Sorry, I hope I didn't mess it up too much. :|

#5 abcyourway

abcyourway
  • Guests

Posted 14 June 2007 - 12:42 PM

All built-in controls works fine but whenever custom controls are added, the export command produces the same errors.

---------------------------
[b]when HiEdit was added[/b]
---------------------------
Error in #include file "C:\LilBuilder_v0.6.1\GuiScript.lbf": [b]Parameter #2 invalid  The current thread will exit.[/b]

Specifically: HiEdit

	Line#
	062: Loop,Parse,OrderOfControls,|,A_Space
	063: LB_ReadControl(File, GuiID, A_LoopField, TabCount)  
	064: }
	065: Gui,%GuiID%:Tab
	066: }
	067: }
	070: {
--->	072: Gui,%GuiID%:Add,%Type%,%Options%,%Content%
	073: }
	075: {
	077: GuiControlGet,p,Pos,%c%
	078: if ex := ErrorLevel  
	078: {
	079: Gui,%A_Gui%:+LastFound
	080: ControlGetPos,px,py,pw,ph,%c%

it's the same with Ragrid, HLink except for IEcontrol.
IEControl doesn't produce a error, however it dosen't show IEcontrol when it is exported.

Am I missing something here?

#6 toralf

toralf
  • Fellows
  • 3948 posts

Posted 14 June 2007 - 12:50 PM

Am I missing something here?

No, you don't. They are currently not available for "final script". I guess, import could work.

#7 majkinetor

majkinetor
  • Fellows
  • 4511 posts

Posted 14 June 2007 - 01:26 PM

Custom controls will be troughly supported only when dynamic function calls are supported by AHK as of OnMessage problem.

Other then that my plan is export to handle this, to add appropriate includes in exported script, perhaps even pack dlls in scripts (as they are small)

#8 majkinetor

majkinetor
  • Fellows
  • 4511 posts

Posted 14 June 2007 - 01:28 PM

v0.6.2
- Added res\Custom\SpreadSheet.png & dll\SprSht.dll & wrapper\SpreadSheet.ahk
- Removed HLink_OnNotify function and necessery changes in HLink.ahk
- Added inc\Properties.ahk
- Added Selector_ShowProperties(); changed Selector_Set2Ctrl to call ShowProperties; changed LilBuilder() to add properties


I didn't upload this to the master place but on my own ahk.net account as toralf said he doesn't want to think about PGUI for now. However, I sense that PGUI should be basic settings interface, so I added it to here along with SS custom control to get a feeling.

Download

#9 toralf

toralf
  • Fellows
  • 3948 posts

Posted 14 June 2007 - 01:33 PM

as toralf said he doesn't want to think about PGUI for now

That doesn't mean you can't. Only because I concentrate on other parts, doesn't mean I don't care or doesn't want it. Thanks for the release.

#10 majkinetor

majkinetor
  • Fellows
  • 4511 posts

Posted 14 June 2007 - 01:38 PM

Well, I just wanted to show you how kewl it is and how fast it can be added. Dicts will have to store Types also ( I hardcoded them all to be Text now) or we can use some other way to connect properties with types.

I planed this feature for PGUI: GlobalTypes
This will speed some things alot.

For instance, it is definite that we will have some things repeated for each control (the same list of colors for instance). I will update PGUI property definitions so it supports something like:

[Property]
Name=Color
Type=TColor

Before that you set TColor to be ComboBox with all system colors. This will speed up things as this combo is repeated between selections but created only once.

We can have number of global types, like TBoolean, TAligment etc...
This offer much better user experience, content control, etc...

#11 toralf

toralf
  • Fellows
  • 3948 posts

Posted 14 June 2007 - 01:56 PM

I'm nearly done with merging. :)

#12 majkinetor

majkinetor
  • Fellows
  • 4511 posts

Posted 14 June 2007 - 02:27 PM

Superb.
The main thing here is to get standard mechanism of Property setting/getting (i.e. what happens in Properties events transmited via PTY_EVENT)
I already proposed to generate function Control_Property(value) that will be used to set values and Control_Property_Editor() to call editor on button click or hyperlink click. We will ahve to use soubrotines until dyn calls are implemented (Chris said he will look into this to help us, in PM) and we can transmit argument via some global var (the way I did with MMenu or PGUI).

Next thing I will probably do is to make MultiDock so we can dock all windows near main gui.

#13 toralf

toralf
  • Fellows
  • 3948 posts

Posted 14 June 2007 - 06:13 PM

New version 0.6.3 is out

Rev 42 (majkinetor)
- Added res\Custom\SpreadSheet.png & dll\SprSht.dll & wrapper\SpreadSheet.ahk
- Removed HLink_OnNotify function and necessery changes in HLink.ahk
- Added inc\Properties.ahk
- Added Selector_ShowProperties(); changed Selector_Set2Ctrl to call ShowProperties; changed LilBuilder() to add properties
Rev 42 (toralf)
- added "Set Label" as gui context menu item
- added all missing multi selection alignment functions
- fixed a bug in MultiSelection_DistributeHori()
- changed "set left/right/center" to a single function that is called for button, text, radio and checkbox
- added hotkeys SHIFT + CONTROL + Left/Right/Up/Down to shink a control in 1 pixel steps
- added Selector_MoveCtrlIncrement() to handle incremental resize/positioning with hotkeys
- added "Set same width/height" menu items for multi selections
- changed: ShowProperties is now done in Message Handler for LButtonDown
- changed: PGUI now also shows properties of GUI
- moved: inc\Properties.ahk to wrapper\Properties.ahk
- renamed Selector_ShowProperties() to Properties_ShowProperties()
- moved Properties_ShowProperties() and PGUI initialization to new file inc\Properties.ahk
- added project prop "_LastSession"
- set PGUI to GuiID 3
Rev 43
- updated URL to new topic
- updated SVN export script to upload archives automatically viw ftp.
Rev 44
- fixed some issues with SVN export script



#14 Alena

Alena
  • Members
  • 5 posts

Posted 14 June 2007 - 06:36 PM

-The link in the first post is broken

-On LilBuilder.ahk there is a error on line #392 SetTimer,Properties_OnSheetSelect,-10 there is a error that dosent allow it to run

-On LilBuilder_ExportFromSVN.ahk there is a error on line #027
RunWait,%Exe_SVN% export %Repro_URL% %Temp_Path% --force,%Temp_Path%

#15 toralf

toralf
  • Fellows
  • 3948 posts

Posted 14 June 2007 - 06:55 PM

-The link in the first post is broken

fixed, thanks.

-On LilBuilder.ahk there is a error on line #392 SetTimer,Properties_OnSheetSelect,-10 there is a error that dosent allow it to run

Do you have the latest AHK version installed?

-On LilBuilder_ExportFromSVN.ahk there is a error on line #027
RunWait,%Exe_SVN% export %Repro_URL% %Temp_Path% --force,%Temp_Path%

This will not work, if you do not have SVN installed. This is more or less a script that eases my release handling. This has nothing to do with the LilBuilder.