GUI Designer: Koda 1.7.3.0
#21
Posted 17 September 2006 - 07:15 AM
#22
Posted 17 September 2006 - 09:26 PM
Don't worry, it's still runningis this project over? no more beta releases?
#23
Posted 17 September 2006 - 09:29 PM
#24
Posted 19 September 2006 - 01:07 PM
http://www.autoitscript.com/fileman/users/lookfar/Koda_1.6.0.2.zip
#26
Posted 19 September 2006 - 06:09 PM
Koda updated at last.
For front, there will no be inferiority even if compare with builder of vb, c++ etc..
Perhaps, do you understand method to connect skf among person who use skincrafter?
If buy skincrafter, does not demo box rise?
#27
Posted 19 September 2006 - 06:11 PM
For example, do you become operation of module that copy file at the same time when timer is operated?
Is no there person who know sauce code?
#28
Posted 20 September 2006 - 05:49 AM
Au3toKoda is not planned as standalone app, this will be the part of Koda.was just wondering if drag & drop could be added to Au3toKoda
then i could just add it to the Send To menu
Perhaps, do you understand method to connect skf among person who use skincrafter?
If buy skincrafter, does not demo box rise?
Study about event.
For example, do you become operation of module that copy file at the same time when timer is operated?
Is no there person who know sauce code?
#29
Posted 20 September 2006 - 06:14 AM
while i'm here
is this suppose to happen and if so why?
everytime I create a group it ends up creating another one set at -99, -99
I just go through it and delete them all afterwards
$Group1 = GUICtrlCreateGroup("AGroup1", 208, 48, 185, 105) GUICtrlCreateGroup("", -99, -99, 1, 1) $Group2 = GUICtrlCreateGroup("AGroup2", 212, 168, 185, 105) GUICtrlCreateGroup("", -99, -99, 1, 1)
#30
Posted 20 September 2006 - 06:32 AM
This is special "closing tag" for group (look example in help). This is necessary when you have multiple groups with radiobuttons. But I think this is good rule to close every group.everytime I create a group it ends up creating another one set at -99, -99
I just go through it and delete them all afterwards
$Group1 = GUICtrlCreateGroup("AGroup1", 208, 48, 185, 105) GUICtrlCreateGroup("", -99, -99, 1, 1) $Group2 = GUICtrlCreateGroup("AGroup2", 212, 168, 185, 105) GUICtrlCreateGroup("", -99, -99, 1, 1)
#31
Posted 20 September 2006 - 08:10 PM
I have saved a kxf design, and I have saved an au3 file in the same folder. (eg makeupdates.kxf and makeupdates.au3)
When I first started using the Update feature I would be asked which au3 file I wanted to use when I started Koda, but this no longer happens. I have downloaded 1.6.0.2 but it made no difference. The previous design is loaded OK.
I moved the installation folder and before I did that it was working. Could this be the problem?
Any suggestions?
#32
Posted 20 September 2006 - 08:17 PM
in au3 script is saved absolute path to kxf:The Update feature has stopped working.
I have saved a kxf design, and I have saved an au3 file in the same folder. (eg makeupdates.kxf and makeupdates.au3)
When I first started using the Update feature I would be asked which au3 file I wanted to use when I started Koda, but this no longer happens. I have downloaded 1.6.0.2 but it made no difference. The previous design is loaded OK.
I moved the installation folder and before I did that it was working. Could this be the problem?
Any suggestions?
so if you moved your project to differrent location it will not find it.
Is not this source of your problem?
Edited by Zedna, 20 September 2006 - 08:18 PM.
#33
Posted 20 September 2006 - 09:49 PM
You're right.in au3 script is saved absolute path to kxf:
so if you moved your project to differrent location it will not find it.
Is not this source of your problem?
I didn't realise that Koda reads all the scripts to see which ones have a reference to the form design.
Thanks Zenda.
#34
Posted 24 September 2006 - 10:11 AM
- With 2 forms in the design, then for the second form the height is saved as the clientheight + 1 width is saved as clientwidth + 1.
- The details are not updated dynamically but only when you switch to the form.
For example, if I select Form2 and change the dimensions, these changes do not show on
the properties page. although Update saves these changes, but again with client dimensions + 1. If I select Form1 then form2 the properties are updated. - If you make changes to the source code, then change the Koda design and choose Update you loose the changes you made to the source code. Is it possible to make Scite save automatically when it looses focus? Or detect that there are unsaved changes to the source code?
#35
Posted 25 September 2006 - 06:34 AM
Not sure I understand what you mean. This works ok for me. Maybe some step-by-step instruction to reproduce?[*] With 2 forms in the design, then for the second form the height is saved as the clientheight + 1 width is saved as clientwidth + 1.
Confirm (first part). Will try to fix it.[*] The details are not updated dynamically but only when you switch to the form.
For example, if I select Form2 and change the dimensions, these changes do not show on
the properties page. although Update saves these changes, but again with client dimensions + 1. If I select Form1 then form2 the properties are updated.
Hm, understand problem, but isn't this Scite related question?[*] If you make changes to the source code, then change the Koda design and choose Update you loose the changes you made to the source code. Is it possible to make Scite save automatically when it looses focus? Or detect that there are unsaved changes to the source code?
#36
Posted 25 September 2006 - 09:02 AM
Here is the code produced by Koda for a simple form, the height and width are being set to the client height and width + 1. I tried to insert an image but the posting was not added when I chose to add reply.Not sure I understand what you mean. This works ok for me. Maybe some step-by-step instruction to reproduce?
Have a look at
http:\\www.mosaiccgl.co.uk\forlazycat\design.bmp
http:\\www.mosaiccgl.co.uk\forlazycat\rundesign.bmp
#Region ### START Koda GUI section ### Form=d:\program files\autoit3\beta\koda\forms\updater\formnewcustomer.kxf $FormNewCustomer = GUICreate("New Customer", 324, 143, 296, 351, BitOR($WS_DLGFRAME,$WS_CLIPSIBLINGS,$DS_MODALFRAME), BitOR($WS_EX_TOPMOST,$WS_EX_WINDOWEDGE)) GUISetIcon("D:\003.ico") $GroupBox1 = GUICtrlCreateGroup("", 8, 1, 297, 97) $InputNewCustomer = GUICtrlCreateInput("", 64, 56, 177, 21) $Label1 = GUICtrlCreateLabel("Enter Name", 64, 32, 60, 17) GUICtrlCreateGroup("", -99, -99, 1, 1) $BtnNCok = GUICtrlCreateButton("&OK", 185, 107, 75, 25, 0) $BtnNCcancel = GUICtrlCreateButton("&Cancel", 34, 107, 75, 25, 0) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###
Yes.Confirm (first part). Will try to fix it.
Hm, understand problem, but isn't this Scite related question?
Edited by martin, 25 September 2006 - 09:03 AM.
#37
Posted 25 September 2006 - 10:59 AM
Here is the code produced by Koda for a simple form, the height and width are being set to the client height and width + 1. I tried to insert an image but the posting was not added when I chose to add reply.
Have a look at
http:\\www.mosaiccgl.co.uk\forlazycat\design.bmp
http:\\www.mosaiccgl.co.uk\forlazycat\rundesign.bmp
$Form1 = GUICreate("AForm1", 315, 170, 193, 115, $WS_DLGFRAME)
created window have WS_VISIBLE, WS_CLIPSIBLINGS and WS_CAPTION styles, but WS_DLGFRAME is not compatible with WS_CAPTION. So Koda counting height and width of form with WS_DLGFRAME style, but actual form created with another style...
You can easily see this behaviour, if you try to disable "Safe styles..." in options and then see how window will look in designer and when running.
Edit: ops, WS_DLGFRAME should be combined with WS_POPUP in order to work, but now WS_POPUP is treated as forced and not generated.
Try to replace styles.xml with this one:
Attached Files
Edited by Lazycat, 25 September 2006 - 11:22 AM.
#38
Posted 25 September 2006 - 12:09 PM
Looks like problem with WS_DLGFRAME style - Autoit not accept this.After applying this:
$Form1 = GUICreate("AForm1", 315, 170, 193, 115, $WS_DLGFRAME)
created window have WS_VISIBLE, WS_CLIPSIBLINGS and WS_CAPTION styles, but WS_DLGFRAME is not compatible with WS_CAPTION. So Koda counting height and width of form with WS_DLGFRAME style, but actual form created with another style...
You can easily see this behaviour, if you try to disable "Safe styles..." in options and then see how window will look in designer and when running.
Edit: ops, WS_DLGFRAME should be combined with WS_POPUP in order to work, but now WS_POPUP is treated as forced and not generated.
Try to replace styles.xml with this one:
The new styles.xml didn't make any difference.
If I uncheck 'don't reflect unsafe styles' the code generated is correct. But this is not recommended (in the help file)
I would like a form which does not have the biSystemMenu icon as Delphi calls it.
Any style I have tried which removes the Close icon in the top right seems to give the problem of giving wrong form sizes.
What style should I choose to do what I want and still have 'don't reflect unsafe styles' checked??
#39
Posted 26 September 2006 - 05:49 AM
Strange, for me this fix wrong vertical sizing as on your screenshots...The new styles.xml didn't make any difference.
If I uncheck 'don't reflect unsafe styles' the code generated is correct. But this is not recommended (in the help file)
I would like a form which does not have the biSystemMenu icon as Delphi calls it.
Any style I have tried which removes the Close icon in the top right seems to give the problem of giving wrong form sizes.
What style should I choose to do what I want and still have 'don't reflect unsafe styles' checked??
But I noticed 1 pixel difference, probably this is wrong applying system metrics for certain styles.
Also, for me no difference between enabled and disabled "unsafe styles" - this option just exclude some styles that can prevent you to access to form, but those styles are still generate. So if this ok for you, you can use it.
#40
Posted 26 September 2006 - 09:32 PM
Could you add an XPManifest to the Koda source? it would improve it for me.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users








