AutoHotkey Community

It is currently May 25th, 2012, 7:43 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 347 posts ]  Go to page Previous  1 ... 15, 16, 17, 18, 19, 20, 21 ... 24  Next
Author Message
 Post subject:
PostPosted: June 7th, 2007, 10:40 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1865
toralf not loged in wrote:
dacol wrote:
u done the whole software but the EXE.. :lol:
i cant find a way for it to work even when using AHK2EXE tool.. lol
so how i open ur soft over my windows? :?
awaiting for the reply.. :)
Sorry dacol, but I do not understand what you are writing. Do you have AHK installed? Why can't you run the script without compiling it to an exe?
Even though, I guess there is no need currently to compile it, since the export isn't possible yet, which makes it not very useful for a wide audience. This is still a beta version. Please be patient, I guess in a short while we will get closer to a useful version. But full functionality will take a longer time.

actually he means that he's unable to use the gui he created in builder, in his own script (he probably compiles them).
i've asked him in another topic that builder still needs gui export support.

dacol,
if SGUI doesn't work for you, your choices are to either use another system temporarily (or use a virtual machine like MS Virtual PC) or wait for Lil Bilder to evolve.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 7th, 2007, 10:41 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1865
toralf,
i'll soon be sending u a mail with the developments on gui export. its looking better.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 7th, 2007, 12:24 pm 
Offline

Joined: June 5th, 2007, 3:41 am
Posts: 12
Location: Auckland, New Zealand
Hey guys,
just wanna say - fanastic work - I can really feel the buzz :D

ciao
Dimi


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 7th, 2007, 3:01 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
SpreadSheet control is over

Now we have 2 choices to use for Properties GUI: RG or SS

I noticed that KetilO uses RaGrid in RadAsm and FreeBasic IDE (he also did that). You can check out screenshots here but I think we should use SS as it is more advanced.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2007, 3:21 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1865
New Version 0.1.3

Quote:
- Added SaveLoad_Export()
- Added SaveLoad_FinalScript(OutFile)
- Made global vars : %A_Gui%GuiWidth, %A_Gui%GuiHeight (modification to inc\gui.ahk)
- Added 'Export' menuitem to Gui context menu (modification to menu\gui.ahk)
- Added #include inc\SaveLoad.ahk


This has the GUI Project Export feature.
Supports Tabs!

Issue:
- The Control_GetParentGuiHWND(CtrlHWND) probably has a bug that prevents it from returning the GuiHWND of controls on Tabs. This causes the Control_GetPosSizeOnGui function to fail for such controls.
So for the time being i'm using ControlGetPos to get control position and not modifying it for title bar and borders.

therefore, the resultant control positions will be a little lower than what you see in builder. i didn't try fixing the above bug so as not to break anything else. maybe toralf or maj can put their thoughts here.

_________________
Image


Last edited by Rajat on June 8th, 2007, 11:20 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2007, 5:43 am 
Offline

Joined: March 15th, 2007, 4:10 am
Posts: 70
Nicely Done! FYI...link points to the wrong version...but still, impressive


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2007, 9:27 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Good work Rajat.
I updated first page with correct link

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2007, 11:21 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1865
mwharri wrote:
Nicely Done! FYI...link points to the wrong version...but still, impressive

oops! :oops: :P
fixed!

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2007, 11:46 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1865
majkinetor wrote:
Good work Rajat.
I updated first page with correct link

Thanks Maj!
i think i've used RG or similar controls earlier.. so i can vouch for that... but i had a look at the SS control, it looks good too and you can probably tell which one would be better....

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2007, 2:20 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
SS would be better as it allows bigger flexibility.

Combobox can be used where user has enumerations to select from
- true or false (this makes checkbox type unnecessary)
- styles
- system colors
etc..

Button can be used where user can enter the option manuely but there is also gui editor available. As you can make text be readonly this eliminates the need for WideButton type that covers the cell and can be just clicked.

Edit should be used in all other circumstances.

The drawback is more complex implementation then with RaGrid that can present us only 2 edit columns (other types can not be used)

The good side is much better user experience and implicit control of input data.

Other features of SS can be probably used one day.


The one thing to note today, until dynamic functions get implemented, is that adding SS in project means to remove handler for HLink (both control monitor WM_NOTIFY).

Other then that, SS should be handled carefuly as it is very touchy when syntaticaly incorrect input is sent to it. For instance single space in graph or formula will burn your CPU and you will have hard time killing the AHK (unless you set its priority to be bellow normal persistently while you xperiment). There is also a chance that I fuked up something in wrapper. However in this application I guess none of that will happen as we will not use graphs and formulas for the start.

I will discuss few problems and incoinstencies with the KetilO so perhaps control gets friendlier. There are few bugs in control itself but they represent themselves in funny usages (for instance you split control like crazy mixing horoziontal and vertical spltting, you expand cells in strange geometrical figures etc) and will surely never get to us in this application.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2007, 2:32 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Just a thought:

Perhaps we can also see if we can thought out non cryptic way of Gui Building, like SGUI.

Current approach is very nice, reminds me on Delpi projects a lil, but unless we provide all possible GUI control creation settings, user will not be able to add them manualy.

For instance, lets say I want to add extended style now, but it is not there.
So, I have to add in gui control creation.

Arbitrary user input here will corrupt the project, but if we make some standard here that users can follow, it will be their responsiblity to keep code project compatibile.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2007, 3:34 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1865
you've successfully scared me of SS control :p
and TBH i don't think a very complex control is reqd for this simple task..

ExStyle and all other options can be added in control's properties, the way i've implemented the export function, new properties automatically get written to the .ini ...then only the reader function needs to be modified. and even that's just for something complex... any simple option or style/ExStyle can be added w/o any mod to the function.

now i wait for the property editor and an import function. :)

about the Export function..
I've yet to add Font support.. but will need to discuss this more.
Multiple Tab controls are a bit buggy... need to figure out why.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2007, 3:37 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1865
and about SGUI like export... its ok if its to be exported just once .. and then forgotten. maintaining it is a bitch.
a script can have any no. of GUIs, at various places, and can be in any no. of non-standardized formats.

i know this becoz i made the mistake of taking the difficult way first. i should have used the standard output format for SGUI as well.

and for those simple needs that you mentioned... SGUI isn't dead yet! :)

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2007, 6:01 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
Good job guys!

A few cosmetic wishes:
- The main window is nailed to the middle of the screen. Important messages of other applications pop up underneath, which I cannot see because of Lil'Builder (which I have to minimize and restore to get out of way). Can it be made moveable?
- It takes time to find the desired control from the many controls listed in the Toolbox. Can they be shown in alphabetic order and an entry selected with incremental search when the Toolbox is active?
- Text is called Label. Could you name it, as in AHK, simply Text?
- In my PC the Toolbox is taller than the main window and the bottom entry is not fully shown. I guess it is dependent on the installed fonts and the display magnification factor. I can resize the main window, but not the Toolbox. It would be better if the Toolbox was also resizable with scrollbars, especially if new controls will be added later: it will soon be taller than lower resolution screens.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2007, 6:47 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Quote:
- The main window is nailed to the middle of the screen. Important messages of other applications pop up underneath, which I cannot see because of Lil'Builder (which I have to minimize and restore to get out of way). Can it be made moveable?

Yes it can. We desabled it for now just because we hide selector that way in some situations (by putting it bellow). It can easily be desabled, comment those lines:
Code:
LilBuilder_DockWindows()

  DisableSystemMenuCommand(Dock_HostId)     ;disable window movement
  DisableSystemMenuCommand(Dock_ClientID)


Other things you mention are there as starters and are just make-up. This will everything get more user friendly when most important things work correctly. I took pictures from Visual Studio 2005 so hence some names difference (text vs label...)

I remember you worked with some bitmap functions before. Can you maybe put this out of head ? Current GRID is problematic for me as it is drawn over controls. Toralf like it that way, but here it looks a bit ugly, especialy as controls redraw themeselves when you hover with mouse over them (and they do that randomly)

Check also this link

To see/change the grid use shift and alt.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 347 posts ]  Go to page Previous  1 ... 15, 16, 17, 18, 19, 20, 21 ... 24  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Retro Gamer and 21 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group