| View previous topic :: View next topic |
| Author |
Message |
Thalon
Joined: 12 Jul 2005 Posts: 640
|
Posted: Mon Sep 04, 2006 10:25 am Post subject: |
|
|
To clarify the first point:
AFAIR the current situation is:
I have written a script with a GUI and I can choose this script to load the control-information into GuiCreator.
But there is much information lost.
And if I save the Gui to the same file there is only the GUI remaining and the scripts other data is lost.
So it is not easily possible to edit a scripts GUI (There has to be a temporäre file with the GUI-Information and I have to do most of the settings for the controls every time).
It is much less afford to edit a script manually!
---
But it is a big step forward to add relative positioning. So big GUIs can be created in a more organized way than now.
Thx,
Thalon, who has much to do with his own projects...
Edit: Corrected gramatical misspelling _________________ AHK-Icon-Changer
AHK-IRC
deutsches Forum
SacredVault |
|
| Back to top |
|
 |
rajat as guest Guest
|
Posted: Mon Sep 04, 2006 1:49 pm Post subject: |
|
|
@Thalon
Have you tried saving the GUI as modified script? |
|
| Back to top |
|
 |
Thalon
Joined: 12 Jul 2005 Posts: 640
|
Posted: Mon Sep 04, 2006 2:24 pm Post subject: |
|
|
I am not shure if this option was already existing in the version I used (or I did not find it).
So the answer is 'No'.
I will wait for Toralfs first redesigned GUI and then spend time into constructive comments. But it is good to know that this should be already implemented!
Thalon _________________ AHK-Icon-Changer
AHK-IRC
deutsches Forum
SacredVault |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Mon Sep 04, 2006 8:13 pm Post subject: |
|
|
| Thalon wrote: | I am not shure if this option was already existing in the version I used (or I did not find it).
So the answer is 'No'.
|
the feature was elementary in 3.xx versions... its working much better in 4.0
i've mentioned it quite clearly while posting this version. _________________
 |
|
| Back to top |
|
 |
T800
Joined: 15 Oct 2006 Posts: 31 Location: Croatia
|
Posted: Thu Oct 19, 2006 12:57 am Post subject: a bug |
|
|
I'm experiencing problem with Smart GUI 4 (fresh download). It is constantly crashing when i open any file save/load window, sometimes it crashes only when I select file.
It doesn't happen when I'm adding elements, just on save/open dialogs, even if I set microediting. My scripts are working fine. I dont know if it's my system, software or hardware's fault. I'm running laptop Compaq nx6110, winXP home, and I have 2 custom shell extensions (can't tell if that changes my system's stability) filehash tab audio shell tab. I yet have to try it on another computer.
Help!  |
|
| Back to top |
|
 |
slomz
Joined: 03 Sep 2006 Posts: 608 Location: Iowa, U.S.
|
Posted: Thu Oct 19, 2006 1:08 am Post subject: |
|
|
| Yes the same happens to me. When I choose to save or open a script from the desktop it crashes. |
|
| Back to top |
|
 |
ahklerner
Joined: 26 Jun 2006 Posts: 1205 Location: USA
|
Posted: Thu Oct 19, 2006 5:24 pm Post subject: |
|
|
I only have a problem when attempting to add a SECOND picture with the open dialog....I have just learned to duplicate the previous added pic and change the label....I wonder if there is a bug in AHK fileselectfile, because I have a script that does the same thing....On different PC's...Compiled or uncompiled...but it does not happen every time. (with Sgui(98%) or my script(50%))
See this post FileSelectFile closes App on 2nd run |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Thu Oct 19, 2006 10:47 pm Post subject: |
|
|
i added lots of pics on a gui using the open window... no problem found.
i opened one file... it opened fine... i tried opening other... SGUI won't show the file open dialog (is this what you mean by crashing?) ... actually not letting opening another file is intentional... i just forgot to make SGUI set the file open menu option disabled after opening one file... the rule is one gui file per running session.... i think toralf's v5 will remove this limitation.
@toralf
howz the new version going?... now i've got time these days and will love to give you a hand on this. _________________
 |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Fri Oct 20, 2006 8:03 am Post subject: |
|
|
Hi Rajat,
I haven't got time lately :( , so the code is unchanged to the one I send to you two weeks agao. Klaus reported a bug which I sometimes experience myself. I guess I first have to fix it, before I continue.
When you work on a gui (do several things, I do not know which actions exactly) at some point the mouse is locked inside the work area. You can only escape this trap with Alt+Tab or Ctrl+Alt+Del. I fear that it has to do with the SetParent. If this is true, I hope we find a workaround, since I would hate to not use SetParent. It offers a nice handling of child windows. E.g. Minimize a Gui in the work area and it will be shown in the lower left corner, of the work area.
Another problem I have to get by is to fix the hiding of the grips behind controls. I assume I have to refresh the GUI. Meaning: I have to destroy the current GUI and rebuild it from the array (and getting all the new HWND) and add the grips as the last controls, so that they are highest in z-Order. I have a refresh button for this, and maybe it needs to be done after each new tab control, since they seem to be most frequent "grip eater".
It would be of great help, if you could look for bugs and find a solution. At the same time it will give you a nice overview of the code. So that it will be easier to add feature in the future. Now is the time to reorganize the code or change implementations, so please think globaly and envision features, don't put them in, but think about the best flexible structure to add them. We (I) want the code to be flexible enough to be maintained easily and new features can be plugged in easily.
Enough talk, have fun to go through the 3000 lines. :) _________________ Ciao
toralf  |
|
| Back to top |
|
 |
ahklerner
Joined: 26 Jun 2006 Posts: 1205 Location: USA
|
Posted: Fri Oct 20, 2006 5:33 pm Post subject: |
|
|
| Quote: | | (is this what you mean by crashing?) |
No sir. the entire program exits just as if it had encountered an exitapp at the time of inserting pictures, well about 2 seconds or so after the fileselectfile dialog has opened. I am currently at work and have just redownloaded the SGUI....I can NOT recreate the issue on this machine. I will have to do some detective work to see why it does crash on my laptop. Will advise if I find anything out.
BTW, Thanks for this great program... |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Fri Oct 20, 2006 8:09 pm Post subject: |
|
|
well, i'm unable to recreate it here... if there's a sure way to make that happen, then please let me know... if its the SGUI code, it'll help me to fix it. thanks! _________________
 |
|
| Back to top |
|
 |
ouch Guest
|
Posted: Tue Nov 07, 2006 5:19 am Post subject: |
|
|
is there anyway you could look at the code that handles tabs?
edit boxes get extremely screwed up. like thier id's get crossed in the editors memory or something. |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Wed Nov 08, 2006 7:27 pm Post subject: |
|
|
well its the same for tabs and listviews. they sometimes misbehave with other controls if they're played with a lot.
anyways, toralf is looking into developing SGUI these days and he might be able to help you better on this.
toralf,
i'm sorry for not being able to give SGUI time lately... its been a couple of years of active development ... but now probably its time to let go.
i'm sure, with you, its future is safe. _________________
 |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Wed Nov 08, 2006 7:47 pm Post subject: |
|
|
Hi Rajat,
That sounds like a good-bye!?! I will only start a new SGUI; give a big frame work (currently 3700 lines :| ). I will not be for ever on this, so I hope that at some point other people join and it will be held up high by the community. I'm close to send you and the other testers a new version. You'll like it, I'm sure. It has some great enhancements. But it still lacks several features of the current SGUI. Thus people should stay with this SGUI until the new is ready as a starting point. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1718
|
Posted: Wed Nov 08, 2006 9:10 pm Post subject: |
|
|
maybe not a complete goodbye but i don't think i'll be actively developing anymore... though with your streamlined code i'm sure it'll be easier to put in bits later on.
and i also hope that this gets built into and ahk IDE like platform with features besides plain GUI as well, with other members of the community putting in their bits n pieces. _________________
 |
|
| Back to top |
|
 |
|