| View previous topic :: View next topic |
| Author |
Message |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Wed Jan 13, 2010 4:41 pm Post subject: [AHK & AHK_L] Forms Framework 0.8 |
|
|
F o r m s
Forms framework is a group of modules used together to create rich AHK and AHK_L applications and graphical user interfaces. It contains the list of optional module includes with each module designed to work with or without the framework in place. It includes number of custom controls, extensions and useful libraries.
Download Documentation Project
Unlicensed
Notes:
- All 3thd party dll controls are not Unicode and will be removed from the framework in the future (HiEdit, RaGrid, SpredSheet (Property)). Those controls will be kept on their respective pages outside the framework.
- Latest source code is always here.
_________________

Last edited by majkinetor on Thu Jan 20, 2011 1:03 pm; edited 23 times in total |
|
| Back to top |
|
 |
Learning one
Joined: 04 Apr 2009 Posts: 1001 Location: Croatia
|
Posted: Wed Jan 13, 2010 4:57 pm Post subject: |
|
|
Majkinetor this is fantastic!
Thank you so much. Bravo!
It looks that I have new homework - to study all that modules
Croatian/Serbian:
Bravo majstore! Tako to rade najbolji! |
|
| Back to top |
|
 |
fred Guest
|
Posted: Wed Jan 13, 2010 6:00 pm Post subject: |
|
|
Looks very nice!  |
|
| Back to top |
|
 |
n-l-i-d Guest
|
Posted: Thu Jan 14, 2010 11:37 am Post subject: |
|
|
Great stuff!
 |
|
| Back to top |
|
 |
IsNull
Joined: 10 May 2007 Posts: 593 Location: .switzerland
|
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Fri Jan 15, 2010 9:08 am Post subject: |
|
|
Thx.
Any suggestions, comments and/or reports are welcome. _________________
 |
|
| Back to top |
|
 |
n-l-i-d Guest
|
Posted: Fri Jan 15, 2010 11:05 am Post subject: |
|
|
How about adding the RMChart.dll as a third-party GUI element?
 |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Fri Jan 15, 2010 11:49 am Post subject: |
|
|
The framework is extensible. Anybody can make RMChart module and if it conforms to other principles I used (described in docs under Features) I will be more then happy to include it. This is more or less how freakkk's RichEdit entered the framework. Some extensions are also produced by forum members (like CColor or ILButton) and are included in framework with some modifications to follow mentioned principles.
Some non-mandatory principles are also described in project wiki about code styling and some mechanism used cross module, like message chains that are mostly used for WM_NOTIFY message used by many different controls at the same time or methods of hiding globals inside "storage" functions.
Other then that, if I ever need charting in AHK Ill probably do it myself. _________________

Last edited by majkinetor on Fri Jan 15, 2010 11:58 am; edited 3 times in total |
|
| Back to top |
|
 |
n-l-i-d Guest
|
Posted: Fri Jan 15, 2010 11:53 am Post subject: |
|
|
Ok, great. I'll see what I can do myself.
 |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Fri Jan 15, 2010 11:56 am Post subject: |
|
|
If you need any help designing API, PM me.
Cheers. _________________
 |
|
| Back to top |
|
 |
kdoske
Joined: 17 Dec 2008 Posts: 80
|
Posted: Fri Jan 15, 2010 6:58 pm Post subject: |
|
|
| this is fantastic |
|
| Back to top |
|
 |
automaticman
Joined: 27 Oct 2006 Posts: 644
|
Posted: Tue Jan 19, 2010 11:14 am Post subject: |
|
|
| Does this replace LilBuilder? |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Tue Jan 19, 2010 12:41 pm Post subject: |
|
|
It has nothing to do with Lil Builder.
The purpose of Lil Builder was to generate "standard" AHK script from drag & drop GUI editor.
This is GUI framework which is used instead Gui, Add and several other function (or in parallel) , not all to be AHK internal (like Attach or Anchor for example). It is also implementation of some wishes, for example this one.
LiL Builder could be updated to generate Forms code out and it would be much easier to do so as Forms standardize Gui creation among custom or internal AHK controls.
In essence, Forms editor is not that much needed because its follows very simple idea consistently across modules.
It also allows for custom control creation using Panel control. I call such high level controls widgets and one example is given as Writter control that uses Toolbar, RichEdit, Dlg, Align & Attach to implement. it. The code then may look like the one bellow without the need to know details of implementation of Writer (i.e. black box)
| Code: | hForm1 := Form_New("w400 e1 h500 +Resize +ToolWindow")
hWriter := Form_Add(hForm1, "Writer", "", "w100 h100", "Align T,200")
|
_________________
 |
|
| Back to top |
|
 |
automaticman
Joined: 27 Oct 2006 Posts: 644
|
Posted: Tue Jan 19, 2010 12:48 pm Post subject: |
|
|
| I see, would it make sense to combine Forms Framework with Jucer. |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4511 Location: Belgrade
|
Posted: Thu Jan 21, 2010 12:20 pm Post subject: |
|
|
2automaticman
No, it doesn't make sense
*** version 0.61 ***
+ Demo.ahk script added that can be used to launch and view other test scripts.
* Attach: changed reset without any arguments so that it uses first window created instead the last one.
! Toolbar: doc fixes
+ Toolbar: New sample Dynamic.ahk - shows how you can reposition controls bellow the toolbar when main window resizes and new toolbar rows are added.
+ Scroller: New sample added that shows how to scroll everything except the toolbar (thx HotKeyIt)
* Some small changes in various tests
* Doc fixes. _________________
 |
|
| Back to top |
|
 |
|